473,465 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

No sourcecode documentation visible in Intellisense from my own class libraries


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 special I need to do with my assemblies to provide the same support?

My methods are always documented like this:

using MyClassLibrary

/// <summary>
/// Summary for MyMethod
/// </summary>
/// <param name="MyParam"></param>
void MyMethod (int MyParam)
{
}

Any hints?

Many thanks in advance.

Roberto Rocco.
Jul 21 '05 #1
2 1642
You need to generate xml documentation for the referenced assembly. In
Visual Studio, you can enable this in the project properties. From the
command-line, you can use the /doc switch.

If your assembly is called X.dll, then put the documentation in X.xml and
place the file next to X.dll - then it should work.

Christian

---

"Roberto Rocco" <ro*****@rocco.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

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 special I need to do with my assemblies to provide the
same support?

My methods are always documented like this:

using MyClassLibrary

/// <summary>
/// Summary for MyMethod
/// </summary>
/// <param name="MyParam"></param>
void MyMethod (int MyParam)
{
}

Any hints?

Many thanks in advance.

Roberto Rocco.
Jul 21 '05 #2
Hello Christian,

thanks a lot for your reply. That was exactly the "missing link" I was
looking for!

Now I can see my docs from my assemblies.

Best regards,

Roberto.

"Christian Heide Damm" <ch*****@microsoft.com> schrieb im Newsbeitrag
news:eG**************@TK2MSFTNGP12.phx.gbl...
You need to generate xml documentation for the referenced assembly. In
Visual Studio, you can enable this in the project properties. From the
command-line, you can use the /doc switch.

If your assembly is called X.dll, then put the documentation in X.xml and
place the file next to X.dll - then it should work.

Christian

---

"Roberto Rocco" <ro*****@rocco.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

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 special I need to do with my assemblies to provide the
same support?

My methods are always documented like this:

using MyClassLibrary

/// <summary>
/// Summary for MyMethod
/// </summary>
/// <param name="MyParam"></param>
void MyMethod (int MyParam)
{
}

Any hints?

Many thanks in advance.

Roberto Rocco.

Jul 21 '05 #3

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

Similar topics

6
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I...
9
by: news.microsoft.com | last post by:
Dear all, I have to do a source code editor to implement syntax hilighted with special colors , IntelliSense function. Could anybody give me some tips or links? Thanks,
3
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....
7
by: Lee Franke | last post by:
I am working on a custom app that has similar functionality as Intellisense but it does not use the Intellisense object. Can you use the Intellisense object? Has anyone done it? Any documentation...
0
by: Ralf Jablonski | last post by:
Hello, using VC++ 2003 all source code comments in front of eg. a class method has been visible in intellisense and object browser. After converting the project to whidbey, the source code...
1
by: Lasse Vågsæther Karlsen | last post by:
I've been using XML Documentation in my class libraries since I discovered this, and I have been using NDoc to produce help files from the xml files so that the documentation is available outside...
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...
2
by: Shehab Kamal | last post by:
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.