Displaying the "/// <summary></summary>" tool tip in other proje

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everybody,

How do i show the tool tip for methods or types of my own in projects
other than the project containing the methods/types/properties?
Is there any attribute or something i should add to them?
The tool tip is displayed only for .NET types or the types within
the same project, but for types in other projects it is not shown.
All that is shown is the fully qualified name of the type or method.
Can i make it to display all the time, regardless of the project they were
declared in?

Thanks alot guys.
 
You need to make sure the XML documentation file is in the same location as
the assembly you're referencing.

If it's a project you are building, go to the Project Properties Dialog,
click on the "Configuration Properties" folder, and select the "Build" item.

Under the "Outputs" section, specify a name for the XML Documentation File
(typically assemblyname.xml). Now build that project and it will produce an
XML documentation file alonge with the assembly.

When you reference that assembly from another project, you should get the
full descriptions within auto-complete.

As an aside, those XML docs are used by NDoc (ndoc.sourceforge.net) to
produce nice MSDN style documentation).
 
Back
Top