解决错误:unable to find a version of the runtime to run this application
2014-10-13 11:37
615 查看
在运行需要.NET Framework控件的软件时报错:
但windows上已经安装了最新的.NET Framework4,看了看软件的readme,其中提到了下载.NET Framework3,看来该软件需要下载.NET Framework3而非.NET Framework4.
后来参考网上的文章,用下面的方式也能解决:
在软件可执行文件(假设可执行文件是 testEXE.exe)所在目录下,打开"testEXE.exe.config" (如果没有就创建一个),然后写入:
<configuration>
<startup>
<supportedRuntime version="v4.0.30319" />
</startup>
</configuration>
当然首先需要确认一下安装的.NET Framework版本是不是‘4.0.30319’——方法是打开在控制面板里的‘添加和删除程序’,查看软件支持信息。
unable to find a version of the runtime to
run this application
但windows上已经安装了最新的.NET Framework4,看了看软件的readme,其中提到了下载.NET Framework3,看来该软件需要下载.NET Framework3而非.NET Framework4.后来参考网上的文章,用下面的方式也能解决:
在软件可执行文件(假设可执行文件是 testEXE.exe)所在目录下,打开"testEXE.exe.config" (如果没有就创建一个),然后写入:
<configuration>
<startup>
<supportedRuntime version="v4.0.30319" />
</startup>
</configuration>
当然首先需要确认一下安装的.NET Framework版本是不是‘4.0.30319’——方法是打开在控制面板里的‘添加和删除程序’,查看软件支持信息。
相关文章推荐
- Unable to find a version of the runtime to run this application解决方法
- 黄聪:.Net Framework Initialization Error – Unable to find a version of the runtime to run this application解决方案
- 安装mysql时,报“unable to find a version of the runtime to run this application ”
- 装mysql时,报unable to find a version of the runtime to run this application
- Unable to find a version of the runtime to run this application.
- XP下运行VS2010生成程序报错:unable to find a version of the runtime to run this application
- Unable to find a version of the runtime to run this application.【matlab】
- FIX: Unable to find a version of the runtime to run this application.
- 安装mysql时,报“unable to find a version of the runtime to run this application ”
- unable to find a version of the runtime to run this application.
- .NET版本问题 转[.Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio]
- Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
- .Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
- .Net Framework Initialization Error – Unable to find a version of the runtime to run this applicati
- .Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
- c++执行程序出现"unable to find a version of the runtime"的错误提示
- .Net Framework Initialization Error – Unable to find a version of the runtime to run
- qt程序运行在树莓派错误解决This application failed to start because it could not find or load the Qt platform plu
- This application failed to start because it could not find or load the Qt platform plugin “windows”错误解决方法
- Please read "Security" section of the manual to find out how to run mysqld as root!错误解决