I don't believe that the XML file has anything to do with intelliSense. The
XML comments get embedded as metadata into the assembly and that is where
the intelliSense information comes from. Also, you'll only see the contents
of the <summary> element as a tooltip next to the class member in the
intelliSense dropdown list. You'll see the other comments if you look at
the class in the Object Browser.
Also, it is imperative that your XML comments appear on the immediate line
preceding the class or class member - don't even leave a blank line between
the comment and the code.
-Scott
While I don't know the reason why it doesn't work for OP, I have to
correct some things.
> I don't believe that the XML file has anything to do with intelliSense.
Indeed, it has. IntelliSense comes from XML documentation file. This
file must be present for any assembly if you want IntelliSense support.
Even framework assemblies have this file used for IntelliSense. Just try
to remove c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.xml
(version may be different) and IntelliSense for e.g. Int32 will be gone.
> XML comments get embedded as metadata into the assembly and that is where
> the intelliSense information comes from.
Again, IntelliSense is not embedded as assembly metadata. You probably
mean System.ComponentModel.Description attribute. This is embedded as
metadata and it is used for property description in Properties Window.
See http://tinyurl.com/2ej8a2
> Also, you'll only see the contents
> of the <summary> element as a tooltip next to the class member in the
> intelliSense dropdown list. You'll see the other comments if you look at
> the class in the Object Browser.
IntelliSense uses also <param> tags for parameter tooltips. See
http://tinyurl.com/yo36qr
More about all of this at http://tinyurl.com/ywtomx

Signature
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code
Scott M. - 09 Mar 2008 02:07 GMT
Thanks Peter.
> While I don't know the reason why it doesn't work for OP, I have to
> correct some things.
[quoted text clipped - 23 lines]
>
> More about all of this at http://tinyurl.com/ywtomx