如何生成C#文档到CHM或HTML文件? [英] How to generate C# documentation to a CHM or HTML file?
本文介绍了如何生成C#文档到CHM或HTML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法从直接从Visual Studio的代码文档生成可读的文档文件? (也考虑2010年)
Is there a way to generate a readable document file from the documentation on the code directly from Visual Studio? (also considering 2010)
如果没有,应该用什么来创建CHM或HTML文件?
If there isn't, what should I use to create a CHM or HTML file?
代码示例:
/// <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中执行。
VSdocman can do it directly from Visual Studio.
这篇关于如何生成C#文档到CHM或HTML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文