|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Intellisense questionHow 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() This still doesnt work. Thanks You need to generate a XML documentation file. Since VB.NET 2002/2003 does
not have built-in support for this (C# does), you need to use some add-in such VBCommenter: http://www.gotdotnet.com/team/ide/helpfiles/VBCommenter.aspx -- Show quoteHide quoteBest regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA You can code, design and document much faster. Free resources for add-in developers: http://www.mztools.com "news.microsoft.com" <mstin***@agris.com> escribió en el mensaje news:ujiKNPYfFHA.1472@TK2MSFTNGP12.phx.gbl... > 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() > > This still doesnt work. > > Thanks > > "news.microsoft.com" <mstin***@agris.com> schrieb: Adding IntelliSense tooltips, XML comments, and documentation> 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? <URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message <URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=ennews:e8vm4DZfFHA.2484@TK2MSFTNGP15.phx.gbl... > "news.microsoft.com" <mstin***@agris.com> schrieb: > > 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? > > Adding IntelliSense tooltips, XML comments, and documentation > > Herfried,How does the creation of these XML documents sit with [shared] Assemblies that have to be "registered" into the Global Assembly Cache? Should I need to [manually] copy the xml into the GAC's shadow copy subdirectory for them to be "absorbed" correctly by the 'Studio IDE? TIA, Phill W. "Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> schrieb: I have never tested that. Typically assemblies are not copied to the GAC > How does the creation of these XML documents sit with [shared] > Assemblies that have to be "registered" into the Global Assembly > Cache? Should I need to [manually] copy the xml into the GAC's > shadow copy subdirectory for them to be "absorbed" correctly by > the 'Studio IDE? when developing. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> On Wed, 6 Jul 2005 21:38:28 +0200, Herfried K. Wagner [MVP] wrote:
> "Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> schrieb: What if you are using a complex commercial library, or open source library,>> How does the creation of these XML documents sit with [shared] >> Assemblies that have to be "registered" into the Global Assembly >> Cache? Should I need to [manually] copy the xml into the GAC's >> shadow copy subdirectory for them to be "absorbed" correctly by >> the 'Studio IDE? > > I have never tested that. Typically assemblies are not copied to the GAC > when developing. in many projects? Copying it to the GAC would make sense, and you very well might want Intellisense for it. As Herfried said, assemblies are not copìed to the GAC during DEVELOPMENT.
The GAC is a deployment feature for final apps on the machines of clients, not a development feature. While developing, your project has references to shared assemblies outside the GAC, in some folder. For example, the .NET Framework dlls are in the GAC (for final apps) and also in other folder, such as C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322, and the xml files are in that folder, not in the GAC. In fact, the Add Reference dialog of VS.NET does not show assemblies in the GAC, it shows assemblies in folders listed in some special registry entries such as HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AssemblyFolders and several others. -- Show quoteHide quoteBest regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA You can code, design and document much faster. Free resources for add-in developers: http://www.mztools.com "Ross Presser" <rpresser@NOSPAMgmail.com.invalid> escribió en el mensaje news:h77xzv14mg71$.qgqd29s1h039.dlg@40tude.net... > On Wed, 6 Jul 2005 21:38:28 +0200, Herfried K. Wagner [MVP] wrote: >> I have never tested that. Typically assemblies are not copied to the GAC >> when developing. > > What if you are using a complex commercial library, or open source > library, > in many projects? Copying it to the GAC would make sense, and you very > well > might want Intellisense for it.
System.Web.Mail.Smtp namespace
INI or XML Adding desktop shortcuts and start program entries Get names of opened windows and their process name manged alternative to get the complete text from each open window ApplicationDomains Calculating Time in VB .Net How to use OCX? is there way to send email throught outlook express without mapi controls ? reference dependency warnings during build |
|||||||||||||||||||||||