This project has moved. For the latest updates, please go here.

Exit with code 3

Topics: Developer Forum, User Forum
Jan 31, 2008 at 2:41 PM
I'm trying to use SandcastleBuilderConsole with TFSBuild and I'm getting an error showing The command ""C:\Program Files\EWSoftware\Sandcastle Help File Builder\SandcastleBuilderConsole.exe" "C:\Workspaces\ediMessages.shfb"" exited with code 3.

The paths to the files and the shfb project file is correct.

Does anyone know what code 3 means?

The project is correct and if I use the GUI it all works as expected.


Jan 31, 2008 at 5:16 PM
A 3 means one of the projects failed to build. Check the LastBuild.log file. If there was a problem, it will be reported in there.

Feb 1, 2008 at 7:20 AM
Thanks for your reply Eric.

Unfortunately, it doesn't seem to be getting that far. The LastBuild.Log file isn't showing anything other than the last successful build I did through the GUI. Do you have any other ideas of where I can look?
Feb 1, 2008 at 3:10 PM
Edited Feb 1, 2008 at 3:10 PM
If possible, use the SandcastleBuilderConsole "-v" option to dump all output to the console and, I assume, that will go into the log for TFSBuild. You might see something in there that helps. You might check the build log for errors. Sometimes a tool will fail but there's enough for it to carry on and produce a help file even if it isn't valid.