Sandcastle MSBuild script for non-English or non-default installations

Just thought I’d let you know how to modify the msbuild script from my last post to work with different setups.

  1. Instead of extracting the file to c:\Program Files\MSBuild, extract it to the equivalent MSBuild folder (d:\Program\MSBuild or whatever)
  2. Open up the Sandcastle.targets file in any xml editor, and change the SandcastlePath property to point to your Sandcastle installation (maybe d:\Program\Sandcastle) and the HtmlHelpCompilerBin path to point to wherever HTML help workshop is installed (say d:\Program\HTML Help Workshop).

After that, it should work fine again.