Problem with compiler in Web.Config for generating xml doc

Posted by asksuperuser on Stack Overflow See other posts from Stack Overflow or by asksuperuser
Published on 2010-04-19T12:05:36Z Indexed on 2010/04/19 12:13 UTC
Read the original article Hit count: 234

Filed under:

I have several problems when putting code below in Web.Config to be able to generate xml doc with website (not webproject):

 <compiler language="c#;cs;csharp" extension=".cs" warningLevel="0"
    type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, 
    Culture=neutral, PublicKeyToken=b77a5c561934e089"
    compilerOptions="/doc:c:\doc\WebDocs.xml">
  1. How do I put a directory with spaces instead of /doc:c:\doc\WebDocs.xml?
  2. How do I put a directory that is a subdirectory of current project?
  3. Why my xml file output is nearly empty? Is it because some properties, methods, ... have no xml comment?

© Stack Overflow or respective owner

Related posts about ASP.NET