This project has moved and is read-only. For the latest updates, please go here.

Debug and Release builds

Topics: Developer Forum
Dec 20, 2006 at 8:24 AM
A command line script to build documentation needs to be able to build documentation for both Debug and Release builds.

Currently this means having two project files, which differ in the location of the assemblies (bin\Release vs bin\Debug), and possibly have other differences (e.g. Preliminary=false for Release mode, =true for Debug mode). This is a maintenance headache.

With NDocConsole it was possible to pass all configuration information via the command line, so that a batch file could be created that works for both Debug and Release configurations.

However SandcastleBuilderConsole.exe only accepts a project file as a command line argument.

Suggest you implement one of the following:

- Pass configuration information on the command line, like NDocConsole, or

- Support multiple configurations (Debug and Release) in a single project file, similar to a VS project file. SandcastleBuilderConsole.exe would accept the project name and configuration name as command line arguments.
Dec 20, 2006 at 7:25 PM
This discussion has been copied to Work Item 6702. You may wish to continue further discussion there.
Dec 21, 2006 at 9:03 PM
Thanks for considering this suggestion.