How to generate C# documentation to a CHM or HTML file?

Posted by BrunoLM on Stack Overflow See other posts from Stack Overflow or by BrunoLM
Published on 2010-05-15T03:17:11Z Indexed on 2010/05/15 3:24 UTC
Read the original article Hit count: 320

Is there a way to generate a readable document file from the documentation on the code directly from Visual Studio? (also considering 2010)

If there isn't, what should I use to create a CHM or HTML file?

Code example:

/// <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();
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2010