好像可以通过visual studio 和 comman line两种方式生成。 请指教。

解决方案 »

  1.   

    Building and Running the Sample Within Visual StudioTo build the XML Documentation sample   1. Open the solution (XMLdoc.sln).
       2. In Solution Explorer, right-click the project and click Properties.
       3. Open the Configuration Properties folder and click Build.
       4. Set the XML Documentation File property to XMLsample.xml.
       5. From the Build menu, click Build. The XML output file will be in the debug directory.Building and Running the Sample from the Command LineTo build the XML Documentation sample   1. To generate the sample XML documentation, type the following at the command prompt:csc XMLsample.cs /doc:XMLsample.xml   2. To see the generated XML, issue the following command:type XMLsample.xml