如何在 Visual Studio 2008 中为 asp.net 网站生成 xml 文档? [英] How to generate xml documentation for asp.net website in visual studio 2008?

查看:19
本文介绍了如何在 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

这篇关于如何在 Visual Studio 2008 中为 asp.net 网站生成 xml 文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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