DNN Blog

Jul 27

Posted by: Andrew Nurse
7/27/2006  RssIcon

I've been following the latest developments in the MSDN Documentation Forums where there has been a lot of discussion over the issue of generating good documentation for .Net 2.0 Assemblies.

VB and C# both support the usage of "Documentation Comments" which are special comments in the code that are designed to be extracted out and used to generate documentation for developers who want to use the Assembly. Until .Net 2.0, NDoc was the best option for taking this documentation info, combining with information gathered from the code itself (through .Net Reflection) and creating nice HTML documentation for the code.

However, NDoc does not support .Net 2.0, and development has hit a roadblock with its leader announcing the project's official "death". Leaving us with no free tools to use (there are some commercial ones, but they're a bit pricey). So basically, developers writing .Net 2.0 code have been without a good documentation tool...until now!

Microsoft has decided to take the tool they use to generate the MSDN documentation developers know and love and release it to the public. Codenamed Sandcastle, this "tool" (and I use quotes because its actually a few tools strung together in the good ol' command prompt) fills the gap created by the loss of NDoc.

I've run it through a few assemblies and I must say that despite the fact that it takes some command line magic (although Scott Hanselman, among others, has put together a script for automating the process) to use, the process is quite straightforward and generates good looking documentation.

The official Sandcastle Blog has more information on the project and the current CTP release.

Links:

Tags:
Categories:
Location: Blogs Parent Separator Andrew Nurse

4 comment(s) so far...


Re: Microsoft Sandcastle Documentation Tool

What I need is a good MSBuild script to build the DotNetNuke documentation.
I don't suppose anyone created one already in the two days SandCastle is available ;-)

By Geert on   7/31/2006

Re: Microsoft Sandcastle Documentation Tool

I saw a script here: http://blog.ljusberg.com/2006/07/msbuild-script-for-sandcastle.html...but I don't know anything about it.

By openarrow on   7/31/2006

Re: Microsoft Sandcastle Documentation Tool

Looks good, thanks Andrew !

By Geert on   7/31/2006

Re: Microsoft Sandcastle Documentation Tool

Been awhile since this blog was posted... but...
Do you know of any tools that will document Custom DNN Modules, like SandCastle currently does with the core library info?

I'm using SandCastle with SandCastle Help File Builder from EWSoftware. Everything is reading in from the .dll files fine, but I can't figure out a way to tell it to read the comments from all the mods in the DesktopModules folder??

By sophia_murphy on   11/21/2007
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.