devxlogo

Quick C# Project Documentation in Visual Studio

Quick C# Project Documentation in Visual Studio

To quickly create XML documentation for your .NET classes during every build, open the project Properties, click the Build tab, scroll down to the Output section, and check the “XML Documentation File” property. Provide a file name to which Visual Studio should save the output, and then close the dialog.

Now, Visual Studio will update the documentation every time you build.

You can feed the generated XML documentation to NDoc to create more professional-looking help files.

devx-admin

Share the Post: