473,785 Members | 3,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<summary> /// Comments not working with assm

I added these comments "///" (below is an example) to help the developers
use the classes and methods I am adding the library. When I instantiate an
object in the same project I get help from the comments in the IDE. However
if I add the library to another project I don't get the help. How can I make
sure I pass the help around? Do you have any information on how I generate
the XML and/or where I can find it to include it in a distribution? Actually
developers normally will just reference the DLL in their project, I wonder
what the other step would be so they can get the help from the XML file.

/// <summary>
/// Method accepts an SP name and Parameters and returns a DataSet that
includes a table with the provided name.
/// </summary>
/// <param name="sql"></param>
/// <param name="param"></param>
/// <param name="tbName"></param>
/// <returns>A DataSet that includes a table with the provided
name.</returns>
public DataSet GetOracleProcDa taSet(string sql, object[,] param, string
tbName)

Thanks in advance for any clues you can give me.
--

Tim Moser
Home: 610.970.4263
Office: 610.296.2920
Cell: 484.300.6030
http://www.timmoser.com


Nov 16 '05 #1
5 1574

"news.bellatlan tic.net" <vz******@veriz on.net> schrieb
I added these comments "///" (below is an example) to help the developers
use the classes and methods I am adding the library. When I instantiate an
object in the same project I get help from the comments in the IDE.
However
if I add the library to another project I don't get the help. How can I
make
sure I pass the help around? Do you have any information on how I generate
the XML and/or where I can find it to include it in a distribution?
Actually
developers normally will just reference the DLL in their project, I wonder
what the other step would be so they can get the help from the XML file.

/// <summary>
/// Method accepts an SP name and Parameters and returns a DataSet that
includes a table with the provided name.
/// </summary>
/// <param name="sql"></param>
/// <param name="param"></param>
/// <param name="tbName"></param>
/// <returns>A DataSet that includes a table with the provided
name.</returns>
public DataSet GetOracleProcDa taSet(string sql, object[,] param, string
tbName)

Thanks in advance for any clues you can give me.


Hi Tim,

VS.NET takes the text shown in intellisense tips from an XML file that is
provided in addition to the assembly (for example, a DLL). The XML file
must have the same name as the corresponding DLL with ".xml" appended and
has to be placed in the same folder as the assembly (assembly "Foo.dll",
XML file "Foo.dll.xm l").

Cheers

Arne Janning
Nov 16 '05 #2
Thanks Arne, but I don't seem to have the XML file for any of the projects
assemblies I have built. I did a search of the entire system. I did find a
file with a "pdb" extension. Could this have something to do with it? It's
in the same directory as the dll.

Maybe there is something I have to do to create the XML???

Thanks

--

Tim Moser
Home: 610.970.4263
Office: 610.296.2920
Cell: 484.300.6030
http://www.timmoser.com

"Arne Janning" <sp************ *****@msn.com> wrote in message
news:eC******** ******@TK2MSFTN GP12.phx.gbl...

"news.bellatlan tic.net" <vz******@veriz on.net> schrieb
I added these comments "///" (below is an example) to help the developers
use the classes and methods I am adding the library. When I instantiate an object in the same project I get help from the comments in the IDE.
However
if I add the library to another project I don't get the help. How can I
make
sure I pass the help around? Do you have any information on how I generate the XML and/or where I can find it to include it in a distribution?
Actually
developers normally will just reference the DLL in their project, I wonder what the other step would be so they can get the help from the XML file.

/// <summary>
/// Method accepts an SP name and Parameters and returns a DataSet that
includes a table with the provided name.
/// </summary>
/// <param name="sql"></param>
/// <param name="param"></param>
/// <param name="tbName"></param>
/// <returns>A DataSet that includes a table with the provided
name.</returns>
public DataSet GetOracleProcDa taSet(string sql, object[,] param, string
tbName)

Thanks in advance for any clues you can give me.


Hi Tim,

VS.NET takes the text shown in intellisense tips from an XML file that is
provided in addition to the assembly (for example, a DLL). The XML file
must have the same name as the corresponding DLL with ".xml" appended and
has to be placed in the same folder as the assembly (assembly "Foo.dll",
XML file "Foo.dll.xm l").

Cheers

Arne Janning

Nov 16 '05 #3
news.bellatlant ic.net wrote:
Thanks Arne, but I don't seem to have the XML file for any of the
projects assemblies I have built. I did a search of the entire
system. I did find a file with a "pdb" extension. Could this have
something to do with it? It's in the same directory as the dll.

Maybe there is something I have to do to create the XML???

Thanks


A quote from another posting of me:
Is there something special I need to do with my assemblies to
provide the same support?


Yes, you have to create an xml documentation file.

Right click your class library in solution explorer and provide a
filename in

Configuration Properties \ Build \ XML Documentation File

Note: The filename must match projectname.xml


--
Immo Landwerth - Visual Studio 2003 - C# - XanaNews 1.16.3.1
Nov 16 '05 #4

"news.bellatlan tic.net" <vz******@veriz on.net> schrieb
Thanks Arne, but I don't seem to have the XML file for any of the projects
assemblies I have built. I did a search of the entire system. I did find a
file with a "pdb" extension. Could this have something to do with it? It's
in the same directory as the dll.

Maybe there is something I have to do to create the XML???


Sorry Tim,

I forgot to mention that.

Note that I have only a German VS.NET-Version here, the following menu names
may slightly differ if you have an english version.

Click on Project | Properties | Configuration Settings | Build

There is a property named "XML-documentation file". Enter the name of your
assembly, append .xml and rebuild your solution. You should find the file in
the output directory.

Cheers

Arne Janning

PS: pdb-files are necessary for the debugger.

Nov 16 '05 #5
Thanks Arne and Immo, that did the trick!
"Arne Janning" <sp************ *****@msn.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..

"news.bellatlan tic.net" <vz******@veriz on.net> schrieb
Thanks Arne, but I don't seem to have the XML file for any of the projects assemblies I have built. I did a search of the entire system. I did find a file with a "pdb" extension. Could this have something to do with it? It's in the same directory as the dll.

Maybe there is something I have to do to create the XML???
Sorry Tim,

I forgot to mention that.

Note that I have only a German VS.NET-Version here, the following menu

names may slightly differ if you have an english version.

Click on Project | Properties | Configuration Settings | Build

There is a property named "XML-documentation file". Enter the name of your
assembly, append .xml and rebuild your solution. You should find the file in the output directory.

Cheers

Arne Janning

PS: pdb-files are necessary for the debugger.

Nov 16 '05 #6

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

Similar topics

3
3430
by: Sam | last post by:
I have an extended class in a dll and have put summaries for each method like this /// <summary> /// Removes all occurences of a given object. /// </summary> The problem is that when I see my methods in the intellisense, the summary shows up only within the namespace and if I use my classes and methods in other projects, I don’t see my summaries, only the summaries of the base class which is a .NET original class. How come?
0
1217
by: Mark Siffer | last post by:
Does anyone know why when you have something like public enum MyEnum { ///<summary>first item..blah blah blah</summary> a = 0, b = 1, c = 2 } and you run from the vs ide Toos-->Build Comment Web Pages
2
5001
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 a tooltip. But when I point at the name of a class in some other file (still in the same project), it just shows "class " and the name of the class. I looked into generating an XML file, but it produced a bunch of errors because I don't have...
4
3891
by: Edward Diener | last post by:
I really do not understand the difference between the <summary> and <value> XML document tags for a property. Why would one use one as opposed to the other for a property, and when would one use both ?
1
2063
by: Paul | last post by:
Hi, Does anyone know how to get Intellisense in VB (VS2003) to display the content of the <summary> attribute as it does in C#? I have put the following in code with no luck ... ' <summary> ' Returns a String Object Containing DB ConnectionString ' </summary>
4
1262
by: Bruno Piovan | last post by:
Hi, I got a example code and there are some '/ <Summary> '/ bla bla bla bla bla '/</Summary> what does that means??? thanks
6
1443
by: Ambuj | last post by:
Can anyone please help me understand why this is not working?!?! I have got this code in a C# Web service project, the project compiles correctly but I can't see the description when I access the Web Service from a ASP.Net web project... /// <summary> /// Some text /// </summary>
3
1566
by: Benny Raymond | last post by:
I'm currently working on giving my plugins space in my settings.xml file, actually, that's now working - however I would like to display each of the plugin's "setting" property summaries in the details section of the datagrid that I am using to update their values. I was wondering if there was a way to access this information. (hopefully that's not too confusing). I assume there is because I can load up a dll file in my app called...
1
1475
by: | last post by:
Is there a setting/configuration that will open a new cs file WITHOUT "<summary> ... </summary>" and "// ... //TODO: .. //"? Thanks. Haji
0
9480
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
10325
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...
0
10148
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
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
9950
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
7499
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
6740
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
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

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.