473,383 Members | 1,997 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,383 software developers and data experts.

how to make available the C# documentation in my DLL assembly

AA
Hello, I was commented my class and copile it, when the compilation finished
th VS create the XML document
It is cool because I can use to generate MSHelp documentation but, when I
import my commented assembly from another project, and use it I can see any
comments

I want to see the documentation at runtime, for example when I invoke a
function

MyStr = GetName(int Id)
id: The identification number of the person // <-- This is my
documentation, in the source code is ok, but at runtime i can't see
Thanks a lot


Nov 15 '05 #1
5 5525
The XML file needs to be in the same folder as the assembly. When you
reference an assembly, it gets shadow copied from so that your project can
bind to it. Unfortunately VS.NET does not take the comment file with it.
You will need to manually copy the XML file into the folder where your
assemblies are copied to.

"AA" <ae**@pla.net.po> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
Hello, I was commented my class and copile it, when the compilation finished th VS create the XML document
It is cool because I can use to generate MSHelp documentation but, when I
import my commented assembly from another project, and use it I can see any comments

I want to see the documentation at runtime, for example when I invoke a
function

MyStr = GetName(int Id)
id: The identification number of the person // <-- This is my
documentation, in the source code is ok, but at runtime i can't see
Thanks a lot


Nov 15 '05 #2
AA
So, all classes of the .NET CLR have their xml file separated?

Is not possible to embed the xml file?

Thanks

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The XML file needs to be in the same folder as the assembly. When you
reference an assembly, it gets shadow copied from so that your project can
bind to it. Unfortunately VS.NET does not take the comment file with it.
You will need to manually copy the XML file into the folder where your
assemblies are copied to.

"AA" <ae**@pla.net.po> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
Hello, I was commented my class and copile it, when the compilation

finished
th VS create the XML document
It is cool because I can use to generate MSHelp documentation but, when I import my commented assembly from another project, and use it I can see

any
comments

I want to see the documentation at runtime, for example when I invoke a
function

MyStr = GetName(int Id)
id: The identification number of the person // <-- This is my
documentation, in the source code is ok, but at runtime i can't see
Thanks a lot



Nov 15 '05 #3
Not all "classes" but rather all physical assemblies have their own XML
file.

No, you cannot embed the XML file in the assembly and have it work the same
way. They must be separate.
"AA" <aa@personal.net.py> wrote in message
news:#Q**************@tk2msftngp13.phx.gbl...
So, all classes of the .NET CLR have their xml file separated?

Is not possible to embed the xml file?

Thanks

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The XML file needs to be in the same folder as the assembly. When you
reference an assembly, it gets shadow copied from so that your project can
bind to it. Unfortunately VS.NET does not take the comment file with it. You will need to manually copy the XML file into the folder where your
assemblies are copied to.

"AA" <ae**@pla.net.po> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
Hello, I was commented my class and copile it, when the compilation finished
th VS create the XML document
It is cool because I can use to generate MSHelp documentation but, when I import my commented assembly from another project, and use it I can
see any
comments

I want to see the documentation at runtime, for example when I invoke

a function

MyStr = GetName(int Id)
id: The identification number of the person // <-- This is my
documentation, in the source code is ok, but at runtime i can't see
Thanks a lot




Nov 15 '05 #4
AA
Thanks a lot Peter for your time.
I have a last question...

How the assembly take the xml file, I need to put the same assembly name to
the xml?

Or I need to configure something at the compile time

Thanks
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uM**************@TK2MSFTNGP10.phx.gbl...
Not all "classes" but rather all physical assemblies have their own XML
file.

No, you cannot embed the XML file in the assembly and have it work the same way. They must be separate.
"AA" <aa@personal.net.py> wrote in message
news:#Q**************@tk2msftngp13.phx.gbl...
So, all classes of the .NET CLR have their xml file separated?

Is not possible to embed the xml file?

Thanks

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The XML file needs to be in the same folder as the assembly. When you
reference an assembly, it gets shadow copied from so that your project can bind to it. Unfortunately VS.NET does not take the comment file with it. You will need to manually copy the XML file into the folder where your
assemblies are copied to.

"AA" <ae**@pla.net.po> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
> Hello, I was commented my class and copile it, when the compilation
finished
> th VS create the XML document
> It is cool because I can use to generate MSHelp documentation but, when
I
> import my commented assembly from another project, and use it I can
see any
> comments
>
> I want to see the documentation at runtime, for example when I
invoke a > function
>
> MyStr = GetName(int Id)
> id: The identification number of the person // <-- This is my
> documentation, in the source code is ok, but at runtime i can't see
>
>
> Thanks a lot
>
>
>
>
>
>



Nov 15 '05 #5
Right, the name of the XML file must be the name of the assembly. For
example, MyAssembly.xml and MyAssembly.dll.

You can see how the framework does it by looking in the install folder for
all the assemblies. Here you will see a collection of XML files that
provide the intellisense support for VS.NET.

"AA" <aa@personal.net.py> wrote in message
news:e9**************@TK2MSFTNGP10.phx.gbl...
Thanks a lot Peter for your time.
I have a last question...

How the assembly take the xml file, I need to put the same assembly name to the xml?

Or I need to configure something at the compile time

Thanks
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uM**************@TK2MSFTNGP10.phx.gbl...
Not all "classes" but rather all physical assemblies have their own XML
file.

No, you cannot embed the XML file in the assembly and have it work the

same
way. They must be separate.
"AA" <aa@personal.net.py> wrote in message
news:#Q**************@tk2msftngp13.phx.gbl...
So, all classes of the .NET CLR have their xml file separated?

Is not possible to embed the xml file?

Thanks

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> The XML file needs to be in the same folder as the assembly. When you > reference an assembly, it gets shadow copied from so that your project
can
> bind to it. Unfortunately VS.NET does not take the comment file
with it.
> You will need to manually copy the XML file into the folder where
your > assemblies are copied to.
>
> "AA" <ae**@pla.net.po> wrote in message
> news:Ou**************@TK2MSFTNGP10.phx.gbl...
> > Hello, I was commented my class and copile it, when the compilation > finished
> > th VS create the XML document
> > It is cool because I can use to generate MSHelp documentation but, when
I
> > import my commented assembly from another project, and use it I
can see
> any
> > comments
> >
> > I want to see the documentation at runtime, for example when I

invoke
a
> > function
> >
> > MyStr = GetName(int Id)
> > id: The identification number of the person // <-- This is my
> > documentation, in the source code is ok, but at runtime i can't

see > >
> >
> > Thanks a lot
> >
> >
> >
> >
> >
> >
>
>



Nov 15 '05 #6

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

Similar topics

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...
1
by: Joseph Grant | last post by:
Help! I'm a newbie, and would like some info on this please: I have a project that requires me to write my own class. So far everything is working well, my class is working and compiling just...
10
by: Jon Davis | last post by:
Namespaces don't have <summary> documentation (do they?), and I think it would be nice to have it. For instance, /// <summary> /// Classes containing math functions. /// </summary> namespace...
5
by: Bob Rundle | last post by:
I've been looking at the XML documentation for C# code. I've put in a number of <summary>, <remarks>, <param> tags and used the /doc switch to create an XML file. What now? I was expecting...
14
by: Don Wash | last post by:
Hi There! In C# you can use /// to add comments that can produce XML documentation. What about in VB???? Thanks, Don
6
by: Jeremy S. | last post by:
Sorry if this is too far OT - I posted this in the IIS group and got no response - so here goes: What would be a good or recommended way to make a Web site in IIS6 inaccessible to users on the...
19
by: Swaregirl | last post by:
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my...
5
by: WStoreyII | last post by:
Is there some sort of a preset way for compiling documetation about an assembly or a project. The Reason that i ask this is that sometimes when i look at examples for code i see things like this....
1
by: the intelligence xml file | last post by:
How can i make the intelligence xml file for a .net assembly? Thanks in advance!
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.