Compiling XML Documentation


To produce an XML file that contains the documentation comments, specify the /doc option. For example, to compile a file called DocTest.cs that contains XML comments, use this command line:

 csc DocTest.cs /doc:DocTest.xml

To create an XML output file when using the Visual Studio IDE, you must use the Property Pages dialog box, which is activated by selecting View | Properties Pages. Next, select Build. Then, check the XML documentation file box, and specify the name of the XML file.




C# 2.0(c) The Complete Reference
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net