Generating XML comment documents from ASP.NET C# code-behind

G

Guest

Hi all,
Can anyone shed any light on how I generate the XML comment documents from
the C# code-behind files in a ASP.NET web project in VS2005? I can't find
any properties relating to it if I right-click the project name in Solution
Explorer.

It's a different story for a C# windows application... you get a different
set of properties that allow you to specify the name of the XML file to
output. I just can't work out how to do it in a web project. I had no joy
trying to use the /doc parameter on the csc command line compiler either.

Perhaps I need to use a third party tool, or maybe there's something in the
MSDN I can look at? If so, please tell me what the best tool out there is
guys (and gals)?

Sorry, this is probably a newbie question.

Many thanks.
 
R

Rick Strahl [MVP]

The XML Comments feature is based on VB and C# projects, but because ASP.NET
2.0 doesn't use real projects this is another feature that is no longer
available by default.

I haven't tried this but I suspect you can use XML Comments with Web
Application Projects which is an add-on from Microsoft (still in early beta)
that provides ASP.NET application with real project files.

http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top