Managed DirectX running from .Net Framework 4.0 app dont hunt

前端 未结 1 2033
礼貌的吻别
礼貌的吻别 2020-12-10 14:51

I work on a product that uses Managed DirectX for data visualizations. I was trying to upgrade this product to .net framework 4.0, but I think I\'m having issues with Manag

相关标签:
1条回答
  • 2020-12-10 15:33

    Just in case there is one other shop out there using Managed DirextX with .Net 4.0, if you put the following config entry in your app config, it'll allow you to do it.

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

    The problem is that the MDX mixed mode assemblies were compiled against 1.1 runtime, and the way CLR 4.0 loads mixed mode assemblies changed, so this config file entry will allow the CLR 4.0 runtime to use lagacy assembly loading.

    0 讨论(0)
提交回复
热议问题