Build fails

Topics: Developer Forum, User Forum
Oct 29, 2007 at 5:32 PM
Edited Oct 29, 2007 at 5:34 PM
Near the end of the build, using latest SHFB and SC downloads (October 2007 and September 2007), I get a failure to open a file as can be seen from the following output. The file name seems a bit strange. Perhaps I am missing something obvious in my settings file - it worked OK in previous versions of SHFB and SC.

Output...

Compiling the help file...
C:\TH\RA2\THServices\Source\Help\Working\Build2xHelpFile.bat
Microsoft Help Compiler Version 2.2.3077 Copyright (c) Microsoft Corp.

Info: Building output file THServices.HxS.
Info: Parsing topic 1: /html/5b222340-2112-866e-a6cb-892bed79acfe.htm
Info: Parsing topic 2: /html/a91b5ab4-90b8-8c1f-53b1-d5eb9523aee5.htm
...
Info: Parsing topic 7: /html/74b3dd2a-b9f1-a9f8-a8c0-b6ac67c2954f.htm
Error HXC3023: Failed to open file C:\TH\RA2\THServices\Source\Help\Working\Output\html/.htm.
Info: Parsing topic 9: /html/ba86191b-0fc1-a1fc-054a-8f63357619f2.htm
Info: Parsing topic 10: /html/37037a29-231f-464a-354e-ac7c487f6999.htm
...

Nigel
Coordinator
Oct 29, 2007 at 6:56 PM
There's a bug in the Sandcastle transformation that causes that. You can download the Sandcastle Presentation Patch from the Releases page to fix it. Extract it into the Sandcastle installation folder (the CTP, not SHFB). However, a refresh of the Sandcastle CTP is due out today that hopefully contains the fix so you may just want to wait for that.

Eric
Oct 30, 2007 at 7:20 AM
Edited Oct 30, 2007 at 7:31 AM
Eric
Thanks for the fast reply - its great when you reply so quickly.
You were right about the availability of October CTP - so I've downloaded and installed it.
Unfortunately I now get a new error from SHFB, which hopefully you'll be able to offer a pointer on...
although perhaps it needs 1.6.0.1?

Sandcastle Help File Builder GUI, version 1.6.0.0
Build started at 30/10/2007 06:15:16

Output...
Clearing working folder...
Finding tools...
Found Sandcastle in 'C:\Program Files\Sandcastle\'
Warning: MRefBuilder has a version of '2.3.8000.26' but version '2.3.7930.6' was expected. You may need to update your copy of the help file builder.

...

Warn: CopyFromIndexComponent: Entries for the key 'P:System.Data.SqlClient.SqlTransaction.Connection' occur in
both 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.SqlClient.xml' and 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.xml'. The last entry will be used.
Warn: CopyFromIndexComponent: Entries for the key 'P:System.Data.SqlClient.SqlTransaction.IsolationLevel' occur in both 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.SqlClient.xml' and 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.xml'. The last entry will be used.
Info: CopyFromIndexComponent: Searching for files that match 'C:\TH\RA2\THServices\Source\Help\Working\THLicence.xml'.
Info: CopyFromIndexComponent: Indexed 75543 elements in 66 files.
Info: ForEachComponent: Instantiating component.
Info: ForEachComponent: Loading subcomponents.
Info: IfThenComponent: Instantiating component.
Info: CopyFromIndexComponent: Instantiating component.
Info: CopyFromIndexComponent: Instantiating component.
Info: ForEachComponent: Loaded 2 subcomponents.
Info: CopyFromIndexComponent: Instantiating component.
Error: BuildAssembler: The type 'SandcastleBuilder.Components.ShowMissingComponent' was not found in the component assembly 'C:\Program Files\EWSoftware\Sandcastle Help File Builder\SandcastleBuilder.Components.dll'.
Last step completed in 00:00:47.4841




EWoodruff wrote:
There's a bug in the Sandcastle transformation that causes that. You can download the Sandcastle Presentation Patch from the Releases page to fix it. Extract it into the Sandcastle installation folder (the CTP, not SHFB). However, a refresh of the Sandcastle CTP is due out today that hopefully contains the fix so you may just want to wait for that.

Eric


Coordinator
Oct 30, 2007 at 4:30 PM
1.6.0.0 isn't compatible with the October CTP without a rebuild. I'll be releasing 1.6.0.1 in a day or two that is compatible and contains some bug fixes and other updates.

Eric
Oct 31, 2007 at 12:00 AM
Hi Eric, the 1.6.0.1 is available for download? I can't find a link for download it and have the exact same problem than NigelAston,

Thanks in advance.
Coordinator
Oct 31, 2007 at 3:29 AM
As the message on the Releases page says... "in a few days".

If all goes well, probably tomorrow.

Eric
Oct 31, 2007 at 12:38 PM
Sorry, I've to read more carefully :)

Thanks,
Nov 2, 2007 at 7:57 AM
1.6.0.1 has solved my problem. Thanks
Nigel
Nov 2, 2007 at 11:19 AM
As advertised! Works perfect! :)

Thanks a lot Eric for your product.