All these others answers make sense, but are incomplete. Visual Studio will process XML comments but you have to turn them on. Here's how to do that:
Intellisense will use XML comments you enter in your source code, but you must have them enabled through Visual Studio Options. Go to Tools
> Options
> Text Editor
. For Visual Basic, enable the Advanced
> Generate XML documentation comments for '''
setting. For C#, enable the Advanced
> Generate XML documentation comments for ///
setting. Intellisense will use the summary comments when entered. They will be available from other projects after the referenced project is compiled.
To create external documentation, you need to generate an XML file through the Project Settings
> Build
> XML documentation file:
path that controls the compiler's /doc
option. You will need an external tool that will take the XML file as input and generate the documentation in your choice of output formats.
Be aware that generating the XML file can noticeably increase your compile time.