Code Comment Web Report in Visual Studio.NET 2005

Last post 06-08-2006 4:55 PM by Michael Knopf. 2 replies.

Sort Posts:

  • Code Comment Web Report in Visual Studio.NET 2005

    06-08-2006, 11:48 AM
    • Member
      10 point Member
    • Michael Knopf
    • Member since 06-08-2006, 11:38 AM
    • Posts 2
        In VS 2003 you could generate a Code Comment Web Report by selecting Tools --> Build Code Comment Report. I am certain this is available in VS 2005 but I have not been able to find out how to generate the report, I have already generated the XML documentation file. Since NDoc currently does not support .NET 2.0 it is important that I can generate this documentation. Any Ideas on where to find this?

  • Re: Code Comment Web Report in Visual Studio.NET 2005

    06-08-2006, 12:38 PM
    • All-Star
      54,821 point All-Star
    • DarrellNorton
    • Member since 04-04-2003, 11:49 AM
    • VA, USA
    • Posts 6,600
    • Moderator
      TrustedFriends-MVPs
    As far as I know the functionality was removed in VS2005.  NDoc is working on support for .NET 2.0.

    You can get a fork of the code base that attempts to to work with 2.0 here (use at your own risk):

    http://sourceforge.net/project/showfiles.php?group_id=163095

    Or try this:

    http://jonas.lagerblad.com/blog/?p=5

    Or NDoc 1.3 can document .Net 2.0 assemblies if an app config file is supplied to force NDoc to prefer the 2.0 framework over the 1.1 framework.  You can download the config files here:

    http://ndoc.sourceforge.net/ndoc_whidbey_config_files.zip
    Darrell Norton, MVP
    Darrell Norton's Blog


    Please mark this post as answered if it helped you!
  • Re: Code Comment Web Report in Visual Studio.NET 2005

    06-08-2006, 4:55 PM
    • Member
      10 point Member
    • Michael Knopf
    • Member since 06-08-2006, 11:38 AM
    • Posts 2
    Thanks Darrell

    I got NDoc to work by opening up the .config files you privided the link for and did the following:

    • I navigated to the installation directory of NDoc 1.3 (in my case it was at C:\Program Files\NDoc 1.3\bin\net\1.1)
    • inside I located and opened the NDocConsole.exe.config file
    • Inside you will see something like the following:
      • <configuration>
        <startup>
              <supportedRuntime version="v1.1.4322" />
               <requiredRuntime version="v1.1.4322" />
        </startup>
        </configuration>
    • I added the following line: <supportedRuntime version="v2.0.50727" /> where ""v2.0.50727" happens to be the version of the .NET Framework i'm currently running on my machine.
    • I saved the file and executed NDoc, it worked properly. 
    Michael
Page 1 of 1 (3 items)