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

Incompatibility with Version of SandCastle Help File Builder ?

Topics: Questions
Oct 16, 2012 at 4:41 PM


Version of SandCastle refuses to load the plugin in version

I migrated to Version of SandCastle without realizing that this problem exists, and now all the hard work invested in documenting the multitude of XML-Schemas in the project, is wasted.

I'm desperate here - can anyone help please?

Any suggestion how to solve this issue?

Any workaround, other then reverting SHFB to 1.9.4? I'll have to do so with all me team members - a big headache...



Oct 16, 2012 at 6:16 PM

Sorry for the inconvenience.

Whenever SHFB ships a new release, XML Schema Documenter needs to be rebuild to rebuild against the newest SHFB assemblies. This is due to the way CLR versions assemblies. Since SHFB released 3 days ago, I hadn't had time updating XML Schema Documenter yet. I'll tackle that in the next few days.

If you feel really blocked you can try adding binding redirect to SHFB's app configuration file.


Oct 16, 2012 at 6:33 PM

I do "feel really blocked" actually, so I'm eager to try the workaround you've suggested :-)

First, Thank you!

Will you please be kind enough to include some sort of instructions of how to add a binding redirect? Do I have to compile something, or can it be added to the config file with a text editor? Where do I find the config file? To which component should I redirect it?

Oct 17, 2012 at 7:32 AM
Edited Oct 17, 2012 at 7:33 AM

The binding redirect workaround basically means that you tell the CLR to replace XSD Doc's dependency on by To do this, you need to edit "C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder\SandcastleBuilderGUI.exe.config"

Use the following snippet. Make sure that runtime is the first element under configuration:

      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="SandcastleBuilder.Utils"
                              culture="neutral" />
            <bindingRedirect oldVersion=""

Please note that I haven't actually tested this and thus don't know whether it works for SHFB -- there might be some other build components that need binding redirect entries as well or there might be API breaking changes between 1.9.5 and 1.94 that prevent XSD Doc from running.

I'll have a closer look at this on the weekend and publish a newer version that is compatible with SHFB 1.9.5.


Oct 20, 2012 at 11:47 PM

The new release that is compatible with SHFB 1.9.5 is available here.

Marked as answer by terrajobst on 2/15/2014 at 6:12 PM