在Visual Studio 2010中为C#启用三/三斜杠XML注释 [英] Enabling triple/three slash XML comments in Visual Studio 2010 for C#

查看:590
本文介绍了在Visual Studio 2010中为C#启用三/三斜杠XML注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆