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

Topics: User Forum
Dec 5, 2006 at 8: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 1.3.2.0
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.
Coordinator
Dec 5, 2006 at 3: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.

Eric
Dec 14, 2006 at 7:46 AM
Hi

I am getting the same error in build 1.3.3.1, 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.

/Jacob
Coordinator
Dec 14, 2006 at 3: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.

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

Thanks for the quick fix.

/Jacob