Intellisense-Descritpion-Attributes

M

Michael Maercker

Hi!

I know there's some way of using .Net's <Attributes> in my own code to set
method descriptions etc. that will be shown in Intellisense while
programming - or at least after compiling into a dll for example. I've
searched the net, but all I keep finding that somehow comes close is showing
property descriptions in the designer-window. And I guess that what I need
now goes something like that, but I can't really put the pieces together...

Can anyone help me along?

Thanks for at least reading so far,
Mike
 
J

Jon Skeet [C# MVP]

Michael Maercker said:
I know there's some way of using .Net's <Attributes> in my own code to set
method descriptions etc. that will be shown in Intellisense while
programming - or at least after compiling into a dll for example. I've
searched the net, but all I keep finding that somehow comes close is showing
property descriptions in the designer-window. And I guess that what I need
now goes something like that, but I can't really put the pieces together...

Can anyone help me along?

You don't need attributes, you need XML documentation. You need to set
your project to build XML documentation in the same location as the
..dll file, and with the same name as the .dll except with .xml as the
extension instead.
 

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