haughtonomous
haughtonomous

Reputation: 4850

Unable to see comments in intellisense

I am developing a .Net library (dll). All the public methods are decorated with full /// comments.

When I hover over one of these methods whilst in the same solution (eg in a test project) I can see the comments as a tooltip.

However when I reference the dll in a different Visual Studio solution, I can't see the comments in the intellisense tooltip.

Is there something I need to do to 'turn this on'? I notice I can see comments when I hover over .Net library methods, for example.

Upvotes: 3

Views: 1159

Answers (2)

Dan Puzey
Dan Puzey

Reputation: 34218

In the project properties, you need to enable the setting "XML documentation file" under the Build tab - and then keep the generated Xml file in the same folder as your Dll.

Upvotes: 3

Grim
Grim

Reputation: 672

You need to make sure 'Generate XML documentation file' is enabled in your project settings.

(Compile tab on VB, not sure exactly where it is in C#).

Upvotes: 1

Related Questions