467,132 Members | 1,157 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,132 developers. It's quick & easy.

Why doesn't intellisense show comments?

I've added comments to a method in A.dll. B.exe references A.dll. I
see the new method and only the stock comment (type methodname()) in
intellisense. However, when I use object browser from B.exe to view
A.dll, I see the new method and all the comments. How do I get the
comments to come through in B.exe via intellisense when I scroll to
that method?

Thanks,
Brett

Apr 24 '06 #1
  • viewed: 6995
Share:
6 Replies
Brett Romero wrote:
I've added comments to a method in A.dll. B.exe references A.dll. I
see the new method and only the stock comment (type methodname()) in
intellisense. However, when I use object browser from B.exe to view
A.dll, I see the new method and all the comments. How do I get the
comments to come through in B.exe via intellisense when I scroll to
that method?

Thanks,
Brett


Sounds like you're looking for XML comments, which can show you
descriptions of constructors and properties and methods and whatnot.

If that's what you're talking about, read this:
http://msdn.microsoft.com/library/de...onTutorial.asp

if that gets chopped, here's a tinyurl.com shortcut:
http://tinyurl.com/fba68
Apr 24 '06 #2
That doesn't address the issue. Please reread my post.

Apr 24 '06 #3
I followed the MSDN article and I get the comments on my intellisense.. Can
you post your comment structure for a specific method in A.dll

" .. The <summary> tag is used by IntelliSense inside Visual Studio to
display additional information about a type or member. .."

VJ

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
I've added comments to a method in A.dll. B.exe references A.dll. I
see the new method and only the stock comment (type methodname()) in
intellisense. However, when I use object browser from B.exe to view
A.dll, I see the new method and all the comments. How do I get the
comments to come through in B.exe via intellisense when I scroll to
that method?

Thanks,
Brett

Apr 25 '06 #4
As an example, one of the methods follows this structure:

/// <summary>
/// Description for SomeMethod.</summary>
/// <param name="s"> Parameter description for s goes here</param>
public void SomeMethod(string s)
{
}

In B.exe, I don't see the description or summary. All I see in
intellisense is:

void SomeMethod(string s)

Brett

Apr 25 '06 #5
Brett Romero wrote:
I've added comments to a method in A.dll. B.exe references A.dll. I
see the new method and only the stock comment (type methodname()) in
intellisense. However, when I use object browser from B.exe to view
A.dll, I see the new method and all the comments. How do I get the
comments to come through in B.exe via intellisense when I scroll to
that method?


You've to export the xml comments from A.dll at compile time to a.xml.
Then you've to make sure that a.xml is in the same folder as the
referenced a.dll. When you then open B and recompile, you'll see that
the comments of A will show up in vs.net.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Apr 25 '06 #6
The XML code comment file is in the bin/debug folder, same as A.PDB and
A.DLL. After compiling B.exe, I still do not see the comments from
A.DLL.

Brett

Apr 25 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Mark | last post: by
9 posts views Thread by Jim Starcher | last post: by
6 posts views Thread by MattB | last post: by
4 posts views Thread by Egbert Nierop \(MVP for IIS\) | last post: by
4 posts views Thread by Elioth | last post: by
1 post views Thread by =?Utf-8?B?U3RldmUgQnVnZGVu?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.