I have a solution that includes a documentation project (shfb project).
Untill recently this have been working just fine, but when i came back to do some small changes to the project the project fails to build with the following info:
SHFB : error BE0065: BUILD FAILED: Object reference not set to an instance of an object.
Building the file directly in SHFB works fine, this error is only present when building from Visual Studio (MSBuild).
Crancking up the MSbuild verbosity does not seem to help much, the error comes right after "ValidatingDocumentationSources" (probably in that step).
Any clue on how to debug this issue?
I had a look at what I did to the assemblies or documentation content files recently, and the thing is I did nothing, i even rolled back to a version where I know everything works (last published build).
I did do one thing though, and that was to upgrade to the newest version of SHFB.
Content of LastBuild.log:
<?xml version="1.0" encoding="utf-8"?>
<shfbBuild product="Sandcastle Help File Builder Utilities" version="22.214.171.124" projectFile="C:\Code\Infosoft\InfoSystem\Maintenance\Infosystem-2.5\ServicePack\UserRegister\Documentation\UserRegister.SandCastle.csproj" started="08.06.2011
Loading and initializing plug-ins...
Hierarchical Table of Contents Version 126.96.36.199
Copyright © 2006-2011, Eric Woodruff, All Rights Reserved
Found Sandcastle tools in 'C:\Program Files (x86)\Sandcastle\'
Validating and copying documentation source information
Source: C:\Code\Infosoft\InfoSystem\Maintenance\Infosystem-2.5\ServicePack\UserRegister\Source\Service Interface\UR.DataContracts\UR.DataContracts.csproj
Found project 'C:\Code\Infosoft\InfoSystem\Maintenance\Infosystem-2.5\ServicePack\UserRegister\Source\Service Interface\UR.DataContracts\UR.DataContracts.csproj'
Last step completed in 00:00:00.0000
SHFB: Error BE0065: BUILD FAILED: Object reference not set to an instance of an object.