|
-
May 20th, 2004, 07:01 AM
#1
Thread Starter
Frenzied Member
tooltips for members of classes [RESOLVED]
arent the tooltips supposed to pop up in intellisense when you start typing stuff in? I compiled about 6 classes into one .dll and each property and each method and each class has a ///summary section but not one of them are being displayed.
What am i doing wrong?
I compiled and referenced the dll from the DEBUG folder of the c# project in my vb test project. Should I be compiling a 'release' build?
Last edited by Andy; Aug 13th, 2004 at 12:07 PM.
-
May 20th, 2004, 12:14 PM
#2
Lively Member
Ive had this same problem in my classes. I would use the /// above the methods and also go to the project properties and set the XML to save like it should. Yet, when I built the solution and used the dll, I still didnt get any comments in intelliscense other than what type of variables are accepted.
Visual Studio .net 2003 EA
VB .net
C#
-
May 20th, 2004, 01:20 PM
#3
Frenzied Member
I assume you compiled the dll with the proper switch to create the comment file?
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
May 20th, 2004, 03:03 PM
#4
Lively Member
Could you give a few more specifics?
Visual Studio .net 2003 EA
VB .net
C#
-
May 20th, 2004, 03:22 PM
#5
Frenzied Member
from the command line, VS.Net doesn't support this.
If you want to compile you class and export you comments to an xml file just do this
Assume file is Test.cs
Code:
csc /doc:Test.xml Test.cs
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
May 21st, 2004, 07:29 AM
#6
Thread Starter
Frenzied Member
from the command line? I've always used the Build menu option. How do you use the command line? is it the same cl as Start/Run/cmd?
-
May 21st, 2004, 09:03 AM
#7
Frenzied Member
Yes, you have to use the command line to compile the comments in C#, because this is a feature that VB.NET doesn't have.
If you have VS.NET, then the command prompt should be located at.
Start>Programs>Microsoft Visual Studio .NET>Visual Studio.NET Tools>Visual Studio.NET Command Prompt
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
May 21st, 2004, 10:14 AM
#8
PowerPoster
Originally posted by Memnoch1207
from the command line, VS.Net doesn't support this.
If you want to compile you class and export you comments to an xml file just do this
Assume file is Test.cs
Code:
csc /doc:Test.xml Test.cs
The IDE sure does support this functionalily. Right click the project, go to properties. Then click on the Configuration Settings section. You will see a XML Documentation File setting. Put in the filename there. Use the same name as the project itself but with a .xml extension.
-
May 21st, 2004, 10:17 AM
#9
PowerPoster
Another thought if the above doesn't work. You need to comment ALL publicly accessible members in each class. For some reason the compiler will trip up on it sometimes if it encounters a public variable or method that doesn't have a comment. (even the constructor needs a comment sometimes). This doesn't happen all the time, but I have seen it get tripped up before.
Next, go ahead and compile your project, it will generate the document file. Now unreference and rereference your dll in your other application. They should then show.
Had the same problem a bit ago and that was how I solved it.
Last edited by hellswraith; May 21st, 2004 at 04:19 PM.
-
May 22nd, 2004, 12:14 PM
#10
Frenzied Member
Excellent. I didn't know that was there!
Know I don't have to keep using the f***ing command line to do it!
Thanks Hellswraith!
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|