473,597 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML Documentation & IntelliSense

I have a C# .NET 1.1 solution that consists of 2 projects. The first project
is a class library that has well formed XML documenation. In this project
IntelliSense shows me the description of each method.
I have added a reference to this class library in the second project. But
IntelliSense doesn't show me the description of any method.
Note: I have compiled the class library so that it generates a doc file
named assemblyname.dl l.xml but still IntelliSense doesn't show any
description.
I have read all the posts but still can't find a solution to make
IntelliSense show the description of my methods.
May 15 '06 #1
2 2695
I was able to reproduce this behavior when the reference to the class library
is from the GAC. If the same version of your class library is installed in
the GAC the xml comments will not show in intellisense. When setting your
reference make sure your reference is from the bin directory where the class
library's assembly is, usually the bin\debug directory. The xml must also be
in this directory. If this does not work, then make sure to remove the dll
from the GAC.

Hope this helps.

SMC750
http://www.certdev.com

Shehab Kamal wrote:
I have a C# .NET 1.1 solution that consists of 2 projects. The first project
is a class library that has well formed XML documenation. In this project
IntelliSense shows me the description of each method.
I have added a reference to this class library in the second project. But
IntelliSense doesn't show me the description of any method.
Note: I have compiled the class library so that it generates a doc file
named assemblyname.dl l.xml but still IntelliSense doesn't show any
description.
I have read all the posts but still can't find a solution to make
IntelliSense show the description of my methods.


--
smc750
www.certdev.com

Message posted via http://www.dotnetmonster.com
May 16 '06 #2
Thanks for the help. However my assemblies are not installed in GAC.
I added the reference to my assembly both using the projects tab or by
browsing to the dll file from the first tab but still IntelliSense doesn't
show the description of my methods.

Thanks in advance,
Shehab.
May 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1658
by: Roberto Rocco | last post by:
Hello, Whenever I use methods from my class libraries I don't get any Intellisense support of the source documentation I supplied. When I use the same code directly instead (i.e. adding the class directly to my project and not using the assembly dll of my class library) then I get Intellisense information of the methods as expected. Using third party assemblies instead provides me with the intellisense support. Is there something...
3
11865
by: David Martin | last post by:
Is there a way to insert a newline into a documentation comment? The intention is to have the tooltip that appears with Intellisense show the line breaks so that the description is easier to read. For example, I have a method where one of the parameters is a bool. The diference between true and false is significant to the results. I would like the tool tip to read as follows for that parameter: IsBoolParam: true = blah blah blah...
5
1442
by: Bob Rundle | last post by:
I've been looking at the XML documentation for C# code. I've put in a number of <summary>, <remarks>, <param> tags and used the /doc switch to create an XML file. What now? I was expecting to have a style sheet or some other mechanism to present the documentation. I was also expecting to have the summary and params show up in IntelliSense.
14
1602
by: Don Wash | last post by:
Hi There! In C# you can use /// to add comments that can produce XML documentation. What about in VB???? Thanks, Don
0
1198
by: sharpener | last post by:
This is a slightly edited re-post with a (hopefully) more descriptive subject and a bit more detail. I'm new to C# and to newsgroups, so please bear with a possibly foolish query. I'll try to be sensible. The results of /// <summary> ... </summary> etc. appear immediately in the Object Browser and in Intellisense popups, as advertised. But when I try to get the same result with <include file='filename' path='tagpath' />, no joy.
1
1374
by: geoffblanduk_nospam | last post by:
Does anyone know of any classes that will load the XML documentation into some useful classes? I'm assuming there must be some somewhere as that's what the Object browser does to show summaries and comments, and Intellisense must do something similar. But I can't find anything specific in the help files. I could roll my own but would prefer to save an hour or two if it's
5
1152
by: TS | last post by:
I am creating a custom control and so I have a c# solution, and added a c# web control library project. I don't get any squigglies until after I build, then when I fix, they don't go away until after I build. The editor also doesn't reformat the code to keep things lined up, even though that option is set. Whats wrong?
5
1488
by: WStoreyII | last post by:
Is there some sort of a preset way for compiling documetation about an assembly or a project. The Reason that i ask this is that sometimes when i look at examples for code i see things like this. <summary>This is a summary</summary> public function test() end function and then this is the same stuff that i will see in the documentation. if this is the case how do i set this up or compile it?
0
8267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8024
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8258
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6681
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5844
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5423
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3921
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2394
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.