473,396 Members | 1,924 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.

<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 GetOracleProcDataSet(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 1559

"news.bellatlantic.net" <vz******@verizon.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 GetOracleProcDataSet(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.xml").

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**************@TK2MSFTNGP12.phx.gbl...

"news.bellatlantic.net" <vz******@verizon.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 GetOracleProcDataSet(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.xml").

Cheers

Arne Janning

Nov 16 '05 #3
news.bellatlantic.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.bellatlantic.net" <vz******@verizon.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****************@TK2MSFTNGP10.phx.gbl...

"news.bellatlantic.net" <vz******@verizon.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
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...
0
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...
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...
4
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...
1
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>...
4
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
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...
3
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...
1
by: | last post by:
Is there a setting/configuration that will open a new cs file WITHOUT "<summary> ... </summary>" and "// ... //TODO: .. //"? Thanks. Haji
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.