.Net framework - “unable to find a version of the runtime to run this application”

こ雲淡風輕ζ 提交于 2019-12-02 03:32:38

I could able to solve this issue. Below info would be a help for someone who is in my situation.

insert below startup tag in your application.config file

<?xml version="1.0"?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>

May be this blog entry would also be helpful: NET 4.0 and Mixed-mode assemblies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!