Groups | Blog | Home
all groups > visual studio .net general > february 2006 >

visual studio .net general : Xml Documentation File for WebSites - VS2005


DavidSp8
2/10/2006 10:10:27 AM
Where is this setting now in VS 2005? In VS 2003, you could document your
DavidSp8
2/10/2006 1:02:26 PM
I do not see anywhere under project properties to set this. I'm using Visual
Studio 2005. My project is a web site project. I do see it under other
project types.

[quoted text, click to view]
Kevin Spencer
2/10/2006 3:50:55 PM
Project Properties.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.


[quoted text, click to view]

Kevin Spencer
2/11/2006 8:33:22 AM
Hi David,

I haven't worked much with ASP.Net 2.0 projects, but I do know that many
times the code is not compiled except at run-time. This would present a
problem since XML Documentation is generated by the compiler by means of a
switch (/doc:file). Visual Studio's IDE is basically an application that
uses console command-line executables to do most of its work. Unless you
were creating DLLs in an ASP.Net 2.0 app, I don't believe it could create
the XML documentation.

However, my research has lead me to a configuration solution that might
work, and I'm sorry I don't have to time to try it myself. but if it works,
come on back and let everyone else know! There is a <system.codedom> element
under the <configuration> element in the Configuration File schema, which
contains a <compilers> element, and this can contain multiple <compiler>
elements. Each <compiler> element can specify compiler-specific settings.

This section is part of the machine.config file, but can be overridden in an
application. To find out more, see:

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

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.


[quoted text, click to view]

AddThis Social Bookmark Button