Using NDoc command line version

  • Thread starter Thread starter mb
  • Start date Start date
M

mb

Hi

I am having troubel using NDoc command line version. I have a
sample.dll which is a part of a larger app. I also have the sample.xml
files generated when I build the sample.dll. Now I want to generate
html files for the sample.dll. How can I use NDoc command line version
to do that. I want to use the command line version so that I can add
it to the buildscript for my app.

A quick response will be highly appreciated.
Thanks
 
I am having troubel using NDoc command line version. I have a
sample.dll which is a part of a larger app. I also have the sample.xml
files generated when I build the sample.dll. Now I want to generate
html files for the sample.dll. How can I use NDoc command line version
to do that. I want to use the command line version so that I can add
it to the buildscript for my app.

1) You need to set VS.NET IDE or the CSC compiler up so that it'll
generate your XML files (I guess you've done that, right?)

2) You need to create an NDoc project using the NDoc GUI - pick your
assemblies and their XML doc files, and then store that NDoc project.

3) Now you can use the NDoc command-line version to create the
documentation based on that saved NDoc project:

ndocconsole.exe -project=<your project>.ndoc

Works like a charm!

Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top