Generate documentation for .Net 2.0
As we all know, C# (and VB.Net 2.0) give you the option of adding XML documentation tags to your code. And as professional developers, we all use this option to document the code. At a certain point, you may need to generate a help file for assemblies you wish to distribute. I myself own a library which I distribute amongst my colleagues and for the .Net 1.1 version, I used NDoc 1.3 to generate the documentation. This week, I finally found time to finish the migration of the library to .Net 2.0. I replaced the delegates I used for events for the generic version, removed objects that were obsolete due to new stuff in .Net 2.0, and cleaned up the code using FxCop 1.35. But then came the task of generating the documentation for the library before distributing the new version. And that's where I ran into trouble.
First of all, the most recent version of Ndoc (1.3), does NOT support .Net 2.0. I checked the NDoc pages on SourceForge, but only found a version from june 2005 which didn't work. Links on that page to more information about generating documentation for .Net 2.0 didn't work either. I then proceeded to google for a new version of NDoc. One of the things I found was that the original developer of NDoc is not really working on that project anymore because of health problems. I hope he well recover soon.
I also found loads of alpha's, beta's and other versions which all claim to work. Unfortunately I haven't yet been able to get any of these versions working. They all have one or more problems, or unknown dependencies, which are working against me. So if you're reading this, and have a version of NDoc which I can install and that works, please respond to this post.
I found the following threads on http://forums.microsoft.com/MSDN which pointed me to the beta's I mentioned above:
When you read those threads, you will find responses from Microsoft employees. And those responses are very interesting, as you can see from the following quote:
26 May 2006, 12:25 AM UTC
As I mentioned in the other thread our plans are to release documentation compilers for .Net 2.0 as a Community Technology Previews (CTP) version by the end of June 2006 and then RTM by the end of August 2006. I will have a detailed post about this before our CTP release next month. Cheers.
Anand. Microsoft Corporation
Group Manager, Developer Division
This is of course really interesting. Apparently, Microsoft will release a CTP version of a documentation compiler somewhere this month. Let's hope they do. All I want is a simple way to generate my documentation again. If it's a new version of NDoc, great. If it's the new Microsoft stuff, fine. I'll keep y'all posted!