<p>I have always made a point of writing nice code comments for classes and methods with the C# xml syntax. I always expected to easily be able to export them later on.</p>

<p>Today I actually have to do so, but am having trouble finding out how. Is there something I'm missing? I want to go <em>Menu->Build->Build Code Documentation</em>, but there is no option to do that, there.</p>

[{'answer_id': 51787, 'author': 'Gulzar Nazim', 'author_id': 4337, 'author_profile': 'https://Stackoverflow.com/users/4337', 'pm_score': 2, 'selected': False, 'text': '<p>You could try <a href="http://ndoc.sourceforge.net/" rel="nofollow noreferrer">NDOC</a> or <a href="http://www.codeplex.com/Sandcastle" rel="nofollow noreferrer">SandCastle</a> if you dont mind using 3rd party tools.</p>\n'}, {'answer_id': 51790, 'author': 'Biri', 'author_id': 968, 'author_profile': 'https://Stackoverflow.com/users/968', 'pm_score': 6, 'selected': True, 'text': '<p>Actually it\'s in the project properties. Build tab, Output section, XML documentation file, and enter the filename. It will be built on every build of the project.</p>\n\n<p>After that you can build the actual help with <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E82EA71D-DA89-42EE-A715-696E3A4873B2&amp;displaylang=en" rel="noreferrer">Sandcastle</a>.</p>\n'}, {'answer_id': 51799, 'author': 'rjzii', 'author_id': 1185, 'author_profile': 'https://Stackoverflow.com/users/1185', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://www.codeplex.com/Sandcastle" rel="nofollow noreferrer">Sandcastle</a> works pretty well for generating documentation and it supports a couple different formats for the generation. As far as I know, there isn\'t any Visual Studio integration for it, but there is a <a href="http://www.inchl.nl/SandcastleGUI/" rel="nofollow noreferrer">SandcastleGUI</a> for it that is available.</p>\n'}, {'answer_id': 51945, 'author': 'NakedBrunch', 'author_id': 3742, 'author_profile': 'https://Stackoverflow.com/users/3742', 'pm_score': 1, 'selected': False, 'text': "<p>Be careful if you're using LINQ to SQL as you won't be able to easily add sustainable comments to the auto-generated objects.</p>\n"}, {'answer_id': 1613456, 'author': 'M4N', 'author_id': 19635, 'author_profile': 'https://Stackoverflow.com/users/19635', 'pm_score': 0, 'selected': False, 'text': '<p>The original NDoc project (mentioned by others) is dead, but there is a new project called <a href="https://sourceforge.net/projects/ndoc3/" rel="nofollow noreferrer">NDoc3</a>.</p>\n\n<p>NDoc3 supports .NET 2.0 - 3.5. It is currently available as a beta version and worked great for me.  I\'m not sure if the project is still active - the last beta was release in april 2009.</p>\n'}, {'answer_id': 22817970, 'author': 'downwitch', 'author_id': 409856, 'author_profile': 'https://Stackoverflow.com/users/409856', 'pm_score': 1, 'selected': False, 'text': '<p>Late comment, but worth adding that even though Sandcastle is mothballed, the <a href="https://shfb.codeplex.com/" rel="nofollow">Sandcastle Help File Builder</a> remains in active development, and I found it very powerful and straightforward to dive into when dealing with just this situation--install to rich .chm and .html/.asp output in a couple hours.</p>\n'}, {'answer_id': 56654633, 'author': 'Brent Matzelle', 'author_id': 330110, 'author_profile': 'https://Stackoverflow.com/users/330110', 'pm_score': 1, 'selected': False, 'text': '<p>The previous answers are really out of date.  Here are some more modern options:</p>\n\n<ul>\n<li><a href="https://dotnet.github.io/docfx/" rel="nofollow noreferrer">DocFX</a>: This is probably your best bet because it runs on Linux, macOS, and Windows and it\'s supported by the .NET Foundation. </li>\n<li><a href="https://github.com/EWSoftware/SHFB" rel="nofollow noreferrer">Sandcastle Help File Builder (SHFB)</a>: This one is still supported but it might not be as active. </li>\n</ul>\n'}]
['https://Stackoverflow.com/questions/51782', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2260/']