Configuration other than Debug or Release?

Topics: Developer Forum
Nov 6, 2009 at 6:15 PM


I am building my documentation in a configuration other than Debug and Relase (I named it Relase with documentation). Looks like SHFB allows only Debug and Release?


Nov 6, 2009 at 7:13 PM

There is no configuration manager in the SHFB GUI yet.  For the time being, open the .shfbproj file in a text editor and manually add the property group lines for the configuration and platform.  You'll see the two in there already for Debug|AnyCPU and Release|AnyCPU.  For example:

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release with Documentation|AnyCPU' ">

Another option if adding the solution or project file as the documentation source is to set the Configuration and/or Platform properties on the documentation source entry itself.  They take precedence if defined.