473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Intellisense (summary/description etc.) missing outside original VS.NET project

Hello!

I have created a C# library with plenty of inline documentation on classes,
methods and so on. The documentation is conforming to Microsofts
recommendations. Here's an example:

// <summary>
// Represents an internal caching mechanism, providing a
// model for caching CmsObjects.
// </summary>
public class CmsCache : CmsObject {}

However, it seems like the documentation is either not included with the C#
library, or I am doing something wrong when compiling (perhaps missing a
setting in VS.NET 2003).

When creating a new project (e.g. a console app) and adding a reference to
the assembly I've created, I don't get the intellisense summary/description
I've added. Is the documentation not included with the assembly?

This is probably a simple question, but I have been looking for this for
quite some time.

Thanks in advance!

--
venlig hilsen / with regards
anders borum
--
Nov 16 '05 #1
2 3410
Anders,

In order for your documentation to come up in Intellisense, you need to
go to the project settings and indicate that you want to create XML
documentation. This file should have the same name as your assembly, along
with the ".xml" extension.

Then, place the XML file in the same directory as the assembly, and
VS.NET should pick it up.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Anders Borum" <a@b.dk> wrote in message
news:O6**************@TK2MSFTNGP10.phx.gbl...
Hello!

I have created a C# library with plenty of inline documentation on classes, methods and so on. The documentation is conforming to Microsofts
recommendations. Here's an example:

// <summary>
// Represents an internal caching mechanism, providing a
// model for caching CmsObjects.
// </summary>
public class CmsCache : CmsObject {}

However, it seems like the documentation is either not included with the C# library, or I am doing something wrong when compiling (perhaps missing a
setting in VS.NET 2003).

When creating a new project (e.g. a console app) and adding a reference to
the assembly I've created, I don't get the intellisense summary/description I've added. Is the documentation not included with the assembly?

This is probably a simple question, but I have been looking for this for
quite some time.

Thanks in advance!

--
venlig hilsen / with regards
anders borum
--

Nov 16 '05 #2
Hello Nicholas

Thanks for the tip. I've written an article about the subject now which has
been published on our intranet. Hopefully this will encourage people to
distribute the documentation with the assemblies :-)

venlig hilsen / with regards
anders borum
--
Nov 16 '05 #3

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

Similar topics

1
by: dan | last post by:
I am working in C#. I want to know how I can get the extras to show up on the intellisense mouseovers. I get a name and type of the property like private string textbox.font But I do not get...
2
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...
1
by: Mark | last post by:
Hi I have been using the <summary> tags etc to add references to my classes etc. When I use this within the project the comments come through in intellisense and also in the object browser. ...
2
by: msnews.microsoft.com | last post by:
How do I get Intellisense to open a dropdown list box for a method's parameters when the parameter is an ENUM? public class MyClass { public enum IDkind { PersonID, EntityID, PlaceID
2
by: Jeremy Chapman | last post by:
Here is an example of a method I've written. I used xml comments, and the Description attribute in the hopes that I would be able to display popup info in the ide. No luck so far. Can anyone...
2
by: carl.manaster | last post by:
Hi, Within my project, I've got a number of classes in separate files. When I point at the name of a class in the file in which it is defined, it shows the <summary> information for the class in...
9
by: Jim Starcher | last post by:
I cannot get the intellisense hints to work on my class constructors. Would you please tell me what I am doing wrong? public class MyObject { //Constructors /// <summary> /// Used to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.