Nick Allen
Nick Allen

Reputation: 12220

C# Class Library method summaries are not showing in intellisense

Fairly self-explanatory I feel

Upvotes: 9

Views: 7626

Answers (2)

Aaronaught
Aaronaught

Reputation: 122664

I'm guessing here, but if this is your class library, you have to make sure you actually build the XML documentation file, otherwise the method summaries will only be available from within the same assembly.

Project Properties -> Build Tab -> Output section -> Check "XML documentation file"

Obviously, as Mitchel points out, you have to import it too, but this is generally automatic when you add an assembly reference (as long as it exists).

Upvotes: 27

Mitchel Sellers
Mitchel Sellers

Reputation: 63126

When you build the class library, be sure to put the .xml file that has the documentation in the same folder as the .dll. Intellisense will then pick this up.

Upvotes: 7

Related Questions