I’m working with Visual C# 2010 Express, building managed applications.
-
In ‘release’ mode, Visual Studio generates an assembly (dll or exe) as well as an XML file containing assembly method comments.
-
In ‘debug’ mode, it generates the assembly and a PDB file (containing debug information).
Since I build everything in debug mode, I want to know how I can also generate the XML file with the assembly and pdb. Why is it not generated ? Strange behavior, we always need comments…
You can enable generation of the XML documentation file by open the Properties for your project and choosing the Build tab. If you set the Configuration to Debug you should be able to check the “XML Documentation file” checkbox.