【问题标题】:Easy way to generate XML Documentation on Visual Studio Web Project [closed]在 Visual Studio Web 项目上生成 XML 文档的简单方法 [关闭]
【发布时间】:2013-11-05 15:22:54
【问题描述】:

Visual Studio 2010 中用于 C# 编译的 Web 项目的属性中没有“构建”选项卡。有没有办法在不修改webconfig文件的情况下为web项目中的c#代码生成XML文档?

我尝试过这种方法:http://www.ewoodruff.us/shfbdocs/html/94c7f744-9b90-4254-93ab-9b15f47d9f42.htm

但我收到以下错误:gacutil : The term 'gacutil' is not recognized as the name of a cmdlet, function, script file, or operable program. 当我尝试在 GAC 中注册 EWSoftware.CodeDom.dll 程序集时

【问题讨论】:

  • 那么当您尝试链接文章中的解决方案时发生了什么?为什么需要不同的解决方案?
  • 我对问题进行了编辑。我也在尝试找到一种不涉及我更改 webconfig 文件的方法。
  • 你是如何让它与沙堡一起工作的?

标签: c# xml visual-studio-2010 documentation


【解决方案1】:

有一个用于生成 MSDN 样式文档的 Microsoft 工具,称为 Sandcastle

它基于您代码中的 XML cmets 的类/属性描述,例如:

    /// <summary>
    /// Description of Method
    /// </summary>
    /// <param name="GroupID">Description of GroupID Parameter</param>
    /// <returns>Description of return value</returns>

【讨论】:

    猜你喜欢
    • 2011-02-19
    • 2010-10-25
    • 2010-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-23
    相关资源
    最近更新 更多