Conditions
- DK.NET (DK10)
- Upon starting 3D mode
Error message
Mixed mode assembly is built against version 'v.2.0.5-727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Cause
SlimDX responsible for 3D stuff is a mixed mode assembly. Therefore such assembly must match the framework version of the final executable you build.
Resolution
If you compiled your application with Framework 4, you must deploy SlimDX compiled for Framework 4, regardless of the version of DK.NET.
Therefore, even if you use DK.NET compiled for Framework 3.5 - you must use SlimDX compiled for Framework 4.0
See also