如何在 Visual Studio 2008 中为 asp.net 网站生成 xml 文档?

问题描述:

我正在尝试为我的 asp.net 网站页面生成 XML 注释.但是当我在解决方案资源管理器中右键单击网站时,我找不到 Properties 而是找到 Proper Pages.如何开始使用 xml 文档?任何建议.

I am trying generate XML comment for my asp.net website pages. But when i right click on the website in the solution explorer i can't find Properties instead i find Propert Pages. How to get started with xml documentation? Any suggestion.

更具体地说:http://msdn.microsoft.com/en-我们/图书馆/azt1z1eh.aspx(在 Visual Studio 中构建 XML 文档示例"部分)

More specifically here: http://msdn.microsoft.com/en-us/library/azt1z1eh.aspx ("To build the XML Documentation sample within Visual Studio" section)

我想在构建中为我的项目生成 XML 注释,但我的配置属性"窗口下面没有文件夹"或构建"选项.

I want to generate XML comments for my project in the build, but my "Configuration Properties" window does not have "folders" or a "Build" option under it.

Web 项目不太方便.您需要手动将编译器"添加到您的 web.config.

It is not quite as convenient for Web Projects. You need to manually add a "compiler" to your web.config.

http://www.ewoodruff.us/shfbdocs/html/94c7f744-9b90-4254-93ab-9b15f47d9f42.htm