Why can't I see xml comments from an external library?

Am I normally not seeing xml comments from external libraries? For example, I have an external library with xml comments on methods. Having made a link to this library, I was hoping that xml comments would appear when I use an external library; But nothing appears in the tooltip:

screenshot

Maybe I need to do something special when I create the lib assembly.

+8
c # documentation xml-comments
source share
1 answer

First you need to enable the generation of XML documentation. You can find it in the project settings in the "Assembly" section.

The compiler will then generate an XML file containing your assembly documentation during the assembly.

If you reference the assembly in another project and want to see documentation of types, methods, etc. in IntelliSense, you need to save the xml documentation file in the same folder where the assembly link is stored.

+9
source share

All Articles