.Net Framework Initialization Error – Unable to find a version of the runtime to run this
来源:互联网 发布:金融php网站模板 编辑:程序博客网 时间:2024/06/04 18:47
.Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio
分类: 其它2011-12-14 08:2219873人阅读评论(10)收藏举报
initialization.netapplicationexe2010
部署一个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
- .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
- .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 find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make a
- To find the version of opencv
- ERROR net.sf.ehcache.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: d
- VS2005项目工程的简单安装包制作
- C#数值型问题探讨
- Oracle 11g R2 Grid常用操作
- 跨域问题
- 输出星号图2
- .Net Framework Initialization Error – Unable to find a version of the runtime to run this
- 路由事件
- 模糊集合的度量
- github常用命令备忘录
- 获取指定格式的日期字符串,包括前一天或者几天
- Linux / Windwos ANT 安装 + 环境配置
- jenkins中文编码
- 寄存器和RAM
- android的strings.xml的特殊符号的转义符