Mixed mode assembly errors after upgrade to .NET 4 Beta 2

I began receiving this error after upgrading to .NET Beta 2 …

System.IO.FileLoadException: Mixed mode assembly is built against version ‘v1.1.4322’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

I suspect it’s the Managed.DirectX DLL that I’m using.

Adding the following to the application config file appears to have solved the problem for now:-

<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"\> <supportedRuntime version="v4.0"\> </startup> </configuration> 


Wed Oct 21 2009 14:35:00 GMT-0700 (Pacific Daylight Time)


Next page: WCF and the SYSTEM account

Previous page: Shortened URLs should be treated like a Codec ...


Disqus goes here