473,786 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML comments questions

Q1: The intellisense summary info for a class only seems to update after a
change to that class's XML comments if I remove the reference to the project
from the current project and add it back again. Why so, and how do I stop
this?

Q2: The <seealso> tag seems to be required (by Vis. Stu. 2003 at least) to
be inside the <summary> tag. However in the intellisense the seealso data
gets tagged onto the end of the summary info as a (as far as the user is
concerned) random floating typename of method. How do I prevent this?

Clive
Nov 17 '05 #1
6 2165
Clive,

Q1: I've never noticed this. It is possible that it is being cached. If
you are referencing the project, I would think that it would update
automatically. However, if you are not referencing the project, but rather,
referencing the DLL, you will have to do a recompile of the XML file.

Q2: Are you sure that you are including the ending slash, something like:

<summary>See the documentation for <seealso cref="MyClass"/>.</summary>

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Clive Dixon" <cl************ *******@digita. noluncheonmeat. com> wrote in
message news:ep******** ******@TK2MSFTN GP12.phx.gbl...
Q1: The intellisense summary info for a class only seems to update after a
change to that class's XML comments if I remove the reference to the
project from the current project and add it back again. Why so, and how do
I stop this?

Q2: The <seealso> tag seems to be required (by Vis. Stu. 2003 at least) to
be inside the <summary> tag. However in the intellisense the seealso data
gets tagged onto the end of the summary info as a (as far as the user is
concerned) random floating typename of method. How do I prevent this?

Clive

Nov 17 '05 #2
> Q1: The intellisense summary info for a class only seems to update after a
change to that class's XML comments if I remove the reference to the
project from the current project and add it back again. Why so, and how do
I stop this?
You need to configure your project to create the XML commenting when it
builds. This is done in the Project Properties dialog box.
Q2: The <seealso> tag seems to be required (by Vis. Stu. 2003 at least) to
be inside the <summary> tag. However in the intellisense the seealso data
gets tagged onto the end of the summary info as a (as far as the user is
concerned) random floating typename of method. How do I prevent this?
Good information here:

http://msdn2.microsoft.com/en-us/library/b2s063f7.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Clive Dixon" <cl************ *******@digita. noluncheonmeat. com> wrote in
message news:ep******** ******@TK2MSFTN GP12.phx.gbl... Q1: The intellisense summary info for a class only seems to update after a
change to that class's XML comments if I remove the reference to the
project from the current project and add it back again. Why so, and how do
I stop this?

Q2: The <seealso> tag seems to be required (by Vis. Stu. 2003 at least) to
be inside the <summary> tag. However in the intellisense the seealso data
gets tagged onto the end of the summary info as a (as far as the user is
concerned) random floating typename of method. How do I prevent this?

Clive

Nov 17 '05 #3
Kevin Spencer <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
Q1: The intellisense summary info for a class only seems to update after a
change to that class's XML comments if I remove the reference to the
project from the current project and add it back again. Why so, and how do
I stop this?


You need to configure your project to create the XML commenting when it
builds. This is done in the Project Properties dialog box.


I didn't think that affected things so long as the projects were all
within the same solution. Unfortunately, generating the XML
documentation for all builds often (for me, anyway) ends up requiring
restarts of VS.NET between builds, as it will lock the file which it
then needs to overwrite. I'm hoping VS 2005 is better on this score :)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #4
Hi Jon,

I should mention that I WAS talking about VS.Net 2005. My apologies if there
was any confusion. I keep forgetting that it is only now being released.
I've been working with it for about a year now.

VS.Net 2005 has no such issues with regards to building the comments on
compile. I am also much happier with the results. It does not generate HTML,
but XML Code Comment Reports. This is a much more flexible and extensible
format. In fact, I am currently working on an XSL transform to create our
own in-house software documentation library. Using XSL, I can organize the
documentation in any way I like, create cross-topic links, create a variety
of document types, and so on. The sort of things you can do with XSL. Kudos
to Microsoft on the new Comment model!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Kevin Spencer <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
> Q1: The intellisense summary info for a class only seems to update
> after a
> change to that class's XML comments if I remove the reference to the
> project from the current project and add it back again. Why so, and how
> do
> I stop this?


You need to configure your project to create the XML commenting when it
builds. This is done in the Project Properties dialog box.


I didn't think that affected things so long as the projects were all
within the same solution. Unfortunately, generating the XML
documentation for all builds often (for me, anyway) ends up requiring
restarts of VS.NET between builds, as it will lock the file which it
then needs to overwrite. I'm hoping VS 2005 is better on this score :)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Nov 17 '05 #5
Kevin Spencer <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
I should mention that I WAS talking about VS.Net 2005. My apologies if there
was any confusion. I keep forgetting that it is only now being released.
I've been working with it for about a year now.

VS.Net 2005 has no such issues with regards to building the comments on
compile. I am also much happier with the results. It does not generate HTML,
but XML Code Comment Reports.
VS.NET 2003 does that already - although that's where the problems with
locking come in.
This is a much more flexible and extensible
format. In fact, I am currently working on an XSL transform to create our
own in-house software documentation library. Using XSL, I can organize the
documentation in any way I like, create cross-topic links, create a variety
of document types, and so on. The sort of things you can do with XSL. Kudos
to Microsoft on the new Comment model!


It's not new at all - it's been available for ages. You might want to
look at NDoc, which already builds docs in various different ways.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #6
Yeah, I've seen NDoc, but I won't learn anything by using it, so I'm rolling
my own. ;-)

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Kevin Spencer <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
I should mention that I WAS talking about VS.Net 2005. My apologies if
there
was any confusion. I keep forgetting that it is only now being released.
I've been working with it for about a year now.

VS.Net 2005 has no such issues with regards to building the comments on
compile. I am also much happier with the results. It does not generate
HTML,
but XML Code Comment Reports.


VS.NET 2003 does that already - although that's where the problems with
locking come in.
This is a much more flexible and extensible
format. In fact, I am currently working on an XSL transform to create our
own in-house software documentation library. Using XSL, I can organize
the
documentation in any way I like, create cross-topic links, create a
variety
of document types, and so on. The sort of things you can do with XSL.
Kudos
to Microsoft on the new Comment model!


It's not new at all - it's been available for ages. You might want to
look at NDoc, which already builds docs in various different ways.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Nov 17 '05 #7

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

Similar topics

32
3167
by: Elliot Temple | last post by:
Hi I have two questions. Could someone explain to me why Python is case sensitive? I find that annoying. Also, why aren't there multiline comments? Would adding them cause a problem of some sort? Thanks, Elliot
5
14232
by: Alex | last post by:
Hi all, We're looking at a vendor who uses the InterSystems Cache Database Platform, but our IT department has zero experience with this system. This software package will have a pivotal and mission critical roll in our organization, so I'd like some comments on what others think of this database platform. Mainly I'm curious how easy/difficult it is to query a Cache Database, and does it use standard SQL calls like Oracle and MS SQL? ...
7
1538
by: pmatos | last post by:
Hi all, I've been having questions about strings, references, initializations... I've created code (which will not compile due to a reference problem) and I'd like comments on why this won't work and any other comment to the code with efficiency in mind. #include <iostream> #include <string>
6
1200
by: Geoff Cox | last post by:
Hello, I wonder if this is possible? I have some code which works but would appreciate comments with a view to improving the code - appropriate to post it and ask for comments? Cheers Geoff
10
1498
by: Geoff Cox | last post by:
Hello, The Javascript code at the URL below does work but no doubt there are better ways of coding the app so would appreciate any comments! http://www.micro-active.com/spa-test/spa-ng-front.htm The first page links to a second where most of the Javascript is to be found.
2
1200
by: Vivek Kumar | last post by:
Hi all, I have to write a network server (sort of) and I am looking for your valuable comments. Currently I have written a prototype in VB6 but it can only handle up to 30 or so clients. I need to upgrade the application so that it can handle up to 1000-1500 clients at a time (later if every thing works fine then hoping for 5000-6000 client). The scenario is as follows.
0
1743
by: Michael.Suarez | last post by:
So we develop and maintain several applications used by several people in the same company, on the same intranet. There are several applications written in VB6, but going forward all of the new development will be done in .NET 2.0, including eventual rewrites of all the VB6 apps. The VB6 executables are all stored in a network folder, and everyone accesses these exe's using shortcuts to them on their desktop. Going forward, we will...
13
1627
Savage
by: Savage | last post by:
Hi everyone, this is questions and comments thread about this article. If u have any comments or questions please post them here.. Savage
1
3616
by: jerger | last post by:
I have not made a program or page from start yet. I have made modifications to our signoff asp pages like changing the questions, texts, shortening field lengths etc... I also have copied the files and reused them for other domains asp 1: Basically I have a signoff asp script... that asks a. name b. email address (then submit).. this data is written to a sub folder's text file with the same name signoff.txt if the signoff.asp is...
6
11997
by: Marjeta | last post by:
I was trying to compare a particular trigger on multiple servers. First I tried phpMyAdmin to script the trigger code, which unfortunately only worked on one server that has newer version of phpMyAdmin... Then I used mysqldump, which scripted trigger code on all the servers, bur with comments around all the trigger related code: phpMyAdmine scripted trigger code without comments. Why are those comments there? I searched thru...
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
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,...
1
10110
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
8992
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6748
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
5398
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
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
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
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.