在Visual Studio 2010中为C#启用三/三斜杠XML注释 [英] Enabling triple/three slash XML comments in Visual Studio 2010 for C#
问题描述
在用C#编码并键入///时,我的Visual Studio 2010工作版本似乎没有为我生成XML注释.但是,我在家中的Visual Studio 2010可以很好地完成工作,就像我正在使用的Visual Studio 2008版本一样.
My work version of Visual Studio 2010 doesn't seem to generate XML commentary for me while coding in C# and typing ///. Yet, my Visual Studio 2010 at home does this just fine, as does the version of Visual Studio 2008 I have at work.
我已经搜索了在本地和在线启用这些XML注释的选项,但无济于事.谁能告诉我在哪里可以切换///XML注释?谢谢.
I have searched for the option to enable these XML comments both locally and online to no avail. Can anyone please tell me where I can toggle whether the /// XML comments are enabled? Thank you.
推荐答案
工具,选项... 的文本编辑器部分中有一个名为生成XML"的选项.///的文档注释.
There's an option in the Text Editor section of Tools, Options... called "Generate XML documentation comments for ///".
这篇关于在Visual Studio 2010中为C#启用三/三斜杠XML注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!