To generate an XML documentation file from documentation comments in the code, use the /doc option with the csc.exe C# compiler.
In Visual Studio 2013/2015, In Project -> Properties -> Build -> Output, check the XML documentation file checkbox:
When you build the project, an XML file wi...