<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="解决：unable to find a version of the runtime to run this application" id="card1">
<p> 游客</p><p>
标题:解决：unable to find a version of the runtime to run this application<br/>
正文:<br/>
unable to find a version of the runtime to run this application<br/>做了一个C#窗体的程序,包含数据库连接的...现在生成了exe文件,把它放到其他电脑上运行,提示是先说要安装.net framework4.0<br/>,装了之后又提示标题这串话,请问要怎么解决呢....安了vs的电脑却是可以正常运行执行文件的...<br/><br/>求高人指点啊<br/><br/>------解决方案--------------------<br/> 很明显是.NET Framework 4.0的版本不正确，需要4.0.30319 <br/>------解决方案--------------------<br/> 上回朋友也遇到过类似的问题，不过他的是因为只安装了NET Framework 4.0，而要运行的程序用到了NET Framework 2.0的库，但是提示就提示要4.0。<br/><br/>最后我们是从1.1开始安装，一直把4.0也安装上，就OK了，呵呵。via<br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=791&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=791&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=791&amp;Page=1">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=791">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=791">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>