XML comments not showing up in intellisense

B

Bob

The xml comments I have on my public methods (using summary tag) only shows
up in the project where the class itself is in. Once I compile the project
(a class libraray project), and refrence the DLL from another project, the
comments don't show up anymore in VS.NET interllisense. Does anyone know
what I need to do for the comments to show up when using the DLL in another
project?
 
N

Nicholas Paldino [.NET/C# MVP]

Bob,

In order to get the comments to show up in IntelliSense, you need to
generate the XML file with the same name as the assembly referenced, except
the DLL extension is replaced with XML. This file needs to be in the same
directory as the assembly itself. If VS.NET finds it, then IntelliSense
will parse the XML file and include the comments.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top