In. NET 4.0 uses the Dirext3D Runtime Library. The following error occurs when "hybrid mode assembly is generated for runtime of version v1.1.4322". If other information is not configured, the Assembly cannot be loaded at the 4.0 runtime." Exception information, view the Assembly Microsoft. directX. dll, Microsoft. directX. direct3D. dll, Microsoft. directX. direct3DX.. NET runtime version v1.1.4322, that is, the D3D Runtime Library is in.. NET v1.1.
In. before NET4.0, due to the nature of the running environment. NET2.0, and. NET2.0 compatibility. NET1.0 and 1.1, but upgrading. NET4.0 ,. NET kernel has made major adjustments, previously in. net2.0 or. the Assembly generated in net3.5, if you want. to run the program in net4.0, you must specify the Common Language Runtime version supported by the application in the configuration file and enable it.. NET Framework 2.0 activation policy during runtime, corresponding App. config:
[Html]
<? Xml version = "1.0"?>
<Configuration>
<Startup useLegacyV2RuntimeActivationPolicy = "true">
<SupportedRuntime version = "v4.0" sku = ". NETFramework, Version = v4.0"/>
</Startup>
</Configuration>