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

How to configure the root folder for Sandcasle executables?

Topics: Developer Forum
Aug 26, 2009 at 9:04 PM


I just installed Sandcasle Help File Builder and when tried to create a new project in GUI got the error that said make sure the targets file are in C:\ folder (Sandcasle is installed in its default location in Program Files). After coping SandcastleHelpFileBuilder.targets file to C:\ I was able to create the project but when started to build I kept getting errors that some dll's or xml files can't be found in C:\

It looks like it assumes C:\ is the install root and tries to find every file there. Is there any way that I can configure it to use files in the installing folder in Program files?


Ron Farko

Aug 27, 2009 at 3:05 AM

The environment variable SHFBROOT isn't always available right after intsallation to all processes, especially those already running, until you reboot.  Once you reboot, it'll find it in the normal location via the environment variable.