【发布时间】:2011-09-26 10:29:28
【问题描述】:
我注意到在 C# XML cmets 和代码 cmets 中可以通过更改工具 > 选项 > 环境 > 字体和颜色 > 显示项中的设置来获得不同的颜色: - 注释:控制代码 cmets - XML 注释:控制 XML cmets
这在 C# 中运行良好
///<summary>This XML comment is green</summary>
//This code comment is red
但不是在 VB.NET 中
'''<summary>This XML comment appears red too even though it's configured as green</summary>
'This code comment is red
有没有办法解决这个问题?
【问题讨论】:
-
我忘了说:我使用的是 Visual Studio 2005
-
谢谢各位,我猜这是 VS 2005 的问题。我需要升级!
-
是的,这是 VS 2005 的问题。我已经更新到 VS 2010 并且工作正常。
标签: c# vb.net visual-studio visual-studio-2005