473,785 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Intellisense for assemblies in VS.NET

When developing C# applications in VS.NET, you get intellisense descriptions
for all methods in the .NET class libraries. I've created my own .NET
assembly and included /// C# documentation of all my methods, classes, etc..
The intellisense works great when this .NET assembly project is included in
the solution I'm working on. However, if I just make a reference to the
..dll file instead of including the 'project', the comments/descriptions of
methods, classes, etc., don't show up.

How can I get these comments to show up in intellisense when other
developers use my assembly?

Thanks in advance!

Mark
Nov 15 '05 #1
6 1638
In article <ej************ **@TK2MSFTNGP10 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
When developing C# applications in VS.NET, you get intellisense descriptions
for all methods in the .NET class libraries. I've created my own .NET
assembly and included /// C# documentation of all my methods, classes, etc..
The intellisense works great when this .NET assembly project is included in
the solution I'm working on. However, if I just make a reference to the
.dll file instead of including the 'project', the comments/descriptions of
methods, classes, etc., don't show up.

How can I get these comments to show up in intellisense when other
developers use my assembly?

Thanks in advance!

Mark


You need to make a reference to the project not the dll.

--
Thanks
Mark mm
Nov 15 '05 #2
Interesting. Is there any other way to do it? That seems rather limiting.
For example, if I built a .DLL and wanted to share it with you, but didn't
want you to see the original source code, I'd certainly want you to be able
to have intellisense or you'd never ever use it ...

Comments? Thanks again.

Mark

"Mark mm" <ma********@hot mail.com> wrote in message
news:MP******** *************** *@News.CIS.DFN. DE...
In article <ej************ **@TK2MSFTNGP10 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
When developing C# applications in VS.NET, you get intellisense descriptions for all methods in the .NET class libraries. I've created my own .NET
assembly and included /// C# documentation of all my methods, classes, etc.. The intellisense works great when this .NET assembly project is included in the solution I'm working on. However, if I just make a reference to the
.dll file instead of including the 'project', the comments/descriptions of methods, classes, etc., don't show up.

How can I get these comments to show up in intellisense when other
developers use my assembly?

Thanks in advance!

Mark


You need to make a reference to the project not the dll.

--
Thanks
Mark mm

Nov 15 '05 #3
In article <eL************ **@TK2MSFTNGP11 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
Interesting. Is there any other way to do it? That seems rather limiting.
For example, if I built a .DLL and wanted to share it with you, but didn't
want you to see the original source code, I'd certainly want you to be able
to have intellisense or you'd never ever use it ...

Comments? Thanks again.


Check out this google group post it explains all
http://tinyurl.com/2usqe

--
Thanks
Mark mm
Nov 15 '05 #4
Thanks! How do you generate the tinyurl link to articles like that?

Mark

"Mark mm" <ma********@hot mail.com> wrote in message
news:MP******** *************** *@News.CIS.DFN. DE...
In article <eL************ **@TK2MSFTNGP11 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
Interesting. Is there any other way to do it? That seems rather limiting. For example, if I built a .DLL and wanted to share it with you, but didn't want you to see the original source code, I'd certainly want you to be able to have intellisense or you'd never ever use it ...

Comments? Thanks again.


Check out this google group post it explains all
http://tinyurl.com/2usqe

--
Thanks
Mark mm

Nov 15 '05 #5
In article <uh************ **@TK2MSFTNGP10 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
Thanks! How do you generate the tinyurl link to articles like that?

Mark

"Mark mm" <ma********@hot mail.com> wrote in message
news:MP******** *************** *@News.CIS.DFN. DE...
In article <eL************ **@TK2MSFTNGP11 .phx.gbl>,
mf****@idonotli kespam.cce.umn. edu says...
Interesting. Is there any other way to do it? That seems rather limiting. For example, if I built a .DLL and wanted to share it with you, but didn't want you to see the original source code, I'd certainly want you to be able to have intellisense or you'd never ever use it ...

Comments? Thanks again.


Check out this google group post it explains all
http://tinyurl.com/2usqe

--
Thanks
Mark mm



Goto www.tinyurl.com, and past the url into the text box
--
Thanks
Mark mm
Nov 15 '05 #6
Mark wrote:
How can I get these comments to show up in intellisense when other
developers use my assembly?


Try copying the documentation XML into the same folder as your assembly.

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
Nov 15 '05 #7

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

Similar topics

1
1780
by: Guy | last post by:
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of static "helper" methods, as well as a load of nested abstract classes that also contain static "helper" methods. This set up allows me to write code like the following FormMethods.BusinessObjectEvents.HandleIsEditChanged()...
2
1668
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...
1
4028
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. When I reference the resulting dll from another project however none of the comments come up in intellisense or the object browser. I have set the property in the project properties to compile it to an xml file - which it does and the file contents...
3
1706
by: Tobias Lekman | last post by:
Hi, I cannot get intellisense to work between assemblies (when I am using project reference). Intellisense works fine inside the assembly (using Xml comments). Any ideas why this will not pass through? Regards, Tobias
1
1100
by: Andrew Baker | last post by:
Since installing SP1 and using VS.NET 2003 I have been having terrible problems with the intellisense locking the IDE. It only seems to happen with certain assemblies, but happens a lot. For example if I type: MessageBox.Show( this, "Test", and then start using the Up and Down arrows to cycle through the overrides the IDE locks/freezes up everytime. To unfreeze the IDE you
2
1401
by: Mythran | last post by:
I have asked this question here before but was given an answer I didn't like (stubborn I am!). I believe the way my question was interpreted was not as I had hoped...so I am trying again. In C#, code commenting with Intellisense is used. In VB.Net, it's not. Fine, dandy, but not what I am looking for. I just want to write the XML by hand and use it in my library so it displays the intellisense itself, not through code comments <--...
2
1212
by: ashish | last post by:
hi Folks, just wondering how could i get help in intellisense help in assemblies created by me, like i get when i access .net assemblies. any help or pointers would be appreciated ... thanks
6
1042
by: news.microsoft.com | last post by:
How can I create a method and attach a description to it so that if someone instantiates my object and references the object.method a description of the method shows up.... just like the vb methods do? I have tried things like imports system.componentmodel <Description("My description")> _ public sub abc()
2
1182
by: Natan Vivo | last post by:
Can anyone tell me what exactly what makes intellisense works for custom controls in aspx pages in VS 2005? I just installed Atlas in my office computer, created a new atlas project and it doesn't show any code completion dialog when I type "<atlas:". At home I have exactly the same version of VS 2005, and it works perfectly. I even had to format and reinstall everything here, but it still doesn't work.
0
9481
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10336
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
10095
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
9953
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...
1
7502
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
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3655
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.