zoukankan      html  css  js  c++  java
  • 在Visual studio 2010中为C#的“///”注释内容生成XML文档 .

      实际上该方法适合于所有版本的Visual studio,方法很简单,设置一下Visual studio的项目属性和工具选项即可。

    1.在菜单栏的“Project”中选择当前项目的“*** Properties”,然后在“Build”标签页中找到“Output”一栏,在“XML documentation files”复选框中打上勾勾,在自定义输出的XML文档的文件名即可。

    2.检查菜单栏上的“Tools”中选择“Options”菜单项,然后在“Text Editor”支点中找到“C#”,在其子项中找到“Advanced”,然后在“XML Documentation Comments ”下的“Generate Xml documentation comments for///”复选框是否已被选中,如果没被选中就选上它。

          一切工作完成之后就可以生成相应的注释XML文档了。Build一下自己的工程,看看生成的文件吧^^

    本文转自:http://blog.csdn.net/wackelbh/article/details/5601269

  • 相关阅读:
    python
    python
    python
    python
    python
    python
    python
    python
    [ThinkPHP] 从一个表中获得栏目对应的ID,从另一个表获得属于这些栏目的文章
    [thinkPHP] buildSql可以查看tp CURD操作对应的SQL
  • 原文地址:https://www.cnblogs.com/dacheng/p/c_document.html
Copyright © 2011-2022 走看看