Error BE0043

Topics: Developer Forum
Sep 21, 2011 at 6:30 PM

I'm getting the following after a build  --

Unhandled Exception: System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.Error : [Project] %BASE%\sdk_shfb\bin\Debug\Working\GenerateRefInfo.proj(66,5): error MSB6006: "MRefBuilder.exe" exited with code -532462766.

Any idea, what is going on? The help for BE0043 says to contact forums.

Coordinator
Sep 21, 2011 at 7:07 PM

The error says your assembly is a .NET 2.0 assembly.  Did you set the SHFB project's FrameworkVersion to the correct version?

Eric