FIX: Unable to find a version of the runtime to run this application.

    1. [发现问题] 安装Articulate Presenter '09之后,打开时报错:Unable to find a version of the runtime to run this application. 错误标题是:.Net Framework Initialization Error。

    2. [分析问题] 从错误提示来看,应该是.NET CLR版本兼容性的问题,我的机器上安装了VS2010,所以CLR应该是v4。而系统是Windows 7 64bit,应该自带了CLR v2,Presenter ’09可能不支持v4使用Visual Studio 2010 SDK的命令:ClrVer.exe验证了一下:

D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>clrver Versions installed on the machine:

v2.0.50727

v4.0.30319

    3. [解决问题] 解决问题出人意料的顺利:在目标文件Presenter.exe所在的目录新建配置文件Presenter.exe.config:

<configuration>
  <startup>
    <supportedRuntime version="v2.0.50727"/>
  </startup>
</configuration>

posted @ 2010-07-01 09:06  bengxia  阅读(2769)  评论(1编辑  收藏  举报
无觅相关文章插件,快速提升流量