.Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
来源:互联网 发布:p2p网络借贷 编辑:程序博客网 时间:2024/05/16 07:14
部署一个VS2010开发的程序时遇到 了一个非常奇怪的问题,客户端上已经安装了.net framework 4.0,但运行时还是会弹出错误:
.Net Framework Initialization Error – Unable to find a version of the runtime to run this application
查了一下,有人提供了这样的解决方法,试了一下,成功:
修改Exe的Config文件,一般是与exe同名,例如test.exe对应test.exe.config,在其中的<configuration>标签内添加如下内容:
<startup> <supportedRuntime version="v4.0.30319" /></startup>
当然,具体的版本号根据实际情况而修改
如果文件夹下没有Config文件,自己创建一个也有效果,内容如下:
<configuration> <startup> <supportedRuntime version="v4.0.30319" /> </startup></configuration>
- .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
- .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
- Unable to find a version of the runtime to run this application.【matlab】
- 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
- 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
- c++执行程序出现"unable to find a version of the runtime"的错误提示
- Unable to find the requested .Net Framework Data Provider
- Unable to instantiate applicatio
- unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make a
- cocos2d 安装出现Error: This script must be run as root in order to copy templates to /Library/Applicatio
- Android 权限
- 求职面试题网站汇总
- 十年过后 中国盗版业仍在享受微软的免费午餐
- PyDev eclipse 控制台输出乱码解决方法
- HTC或已过巅峰期
- .Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
- linux系统引导流程2
- SVN使用教程之-分支/标记 合并 subeclipse
- 失业66天
- Windows 2008 命令行安装系统组件命令ServerManagerCmd介绍
- asp上传文件代码详解
- JAVA修饰符的详细介绍(public protect,default, private,final,abstract)
- sql server 2000
- zoj1847