添加应用程序配置文件,在configuration节点加入

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

即可解决问题。这样做可以允许旧的应用程序绑定到新的版本之上。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-01-05
  • 2022-03-01
  • 2021-11-18
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2021-09-14
相关资源
相似解决方案