微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何生成C#文档到CHM或HTML文件?

有没有办法从Visual Studio代码文档中生成可读的文档文件? (也考虑到2010年)

如果没有,应该用什么来创建一个CHM或HTML文件

代码示例:

/// <summary>
/// Convert a number to string
/// </summary>
/// <param name="number">An integer number to be converted to string</param>
/// <returns>Number as string</returns>
/// <example>
/// <code>
///     var s = MyMethod(5);
/// </code>
/// </example>
/// <exception cref="Exception">In case it can't convert</exception>
/// <remarks>
/// Whatever
/// </remarks>
public string MyMethod(int number)
{
    return number.ToString();
}

解决方法

VSdocman可以直接从Visual Studio.

原文地址:https://www.jb51.cc/csharp/93036.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐