Which command will cause an XML file to be generated from documentation comments?

To build the XML Documentation sample within Visual Studio 
In Solution Explorer, right-click the project and click Properties. Open the Configuration Properties folder and click Build. 
Set the XML Documentation File property to XMLsample.xml. 
On the Build menu, click Build. 
The XML output file will be in the debug directory. 

To build the XML Documentation sample from the Command Line 
To generate the sample XML documentation, type the following at the command prompt:csc XMLsample.cs /doc:XMLsample.xml