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

BUILD FAILED: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

Topics: User Forum
Dec 5, 2006 at 9:22 AM
I just installed SandCastle and started with a new project. I have selected one dll/xml file and started generating the help, there I got the following error:

Sandcastle Help File Builder GUI, version
Creating output and working folders...
Finding tools...

BUILD FAILED: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

Can anyone provide help ? What option needs to be set? What object could internally miss the instance ?

Thanks for any help.
Dec 5, 2006 at 4:36 PM
There's a problem in the "locate tools" method that will be fixed in the next release.

The bug means that you probably haven't installed Sandcastle itself. It isn't supplied with the help file builder. See the Links to Resources topic in the help file for the link to download it.

Dec 14, 2006 at 8:46 AM

I am getting the same error in build, and I have installed Sandcastle.

Specifying the path solves the problem though.

I peeked at the FindTools() method and it contains the following:

this.sandcastleFolder = Environment.GetEnvironmentVariable("DXROOT");
if (!this.sandcastleFolder.Contains(@"\Sandcastle"))
this.sandcastleFolder = string.Empty;

If the DXROOT is not set, the if statement will throw a NFE.

Dec 14, 2006 at 4:24 PM
That has been fixed and will be in the next release. Note that if DXROOT isn't set, you probably don't have the December CTP.

Dec 15, 2006 at 7:42 AM
The reason for the missing DXROOT is that I did not restart after installing Sandcastle.

Thanks for the quick fix.