How do I create an XML Intellisense file for my DL

2020-02-27 04:20发布

问题:

I am creating a DLL in C#, using VS 2010, and I have created XML comments for all of its members. When I build the DLL, how do I generate the XML file that will provide Intellisense for the DLL? Thanks for your help.

回答1:

In the project properties page, go to the Build tab. In the Output section near the bottom there's a check-box labelled "XML documentation file" that needs to be checked.