Search code examples
c#.netsandcastle

Sandcastle Error BE0073 .NET Framework 4.5


I am trying to generate help files using Sandcastle, locally this works find but on my build server I keep receiving the same error message:

SHFB: Error BE0073: A project with a different or higher framework version was 
found but that version (.NETFramework 4.5) or a suitable redirected version 
was not found 

I have checked and I have .NET 4.5.1 installed and 4.5, my projects build without an issue on the server. It is only Sandcastle that is causing a problem.

Does anyone know the cause of this error or how I can diagnose it further?


Solution

  • For some reason the directory:

    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5
    

    Was missing on my build server. I copied it from my local machine and everything started to work.