Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version. 的处理

今天调试Silverlight项目突然报错:

先是:Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.

然后又报:

Unable to start debugging. The application uses a version of Silverlight that is not supported by the debugger.

 

 

 

下载以下Runtime后解决问题:

Silverlight 3 Developer Runtime (http://go2.microsoft.com/fwlink/?LinkID=150228),

或者 Silverlight 4 Developer Runtime

(http://download.microsoft.com/download/2/2/C/22CABA89-3580-4611-8E0D-56749D2120DF/runtime/Silverlight_Developer.exe

 

注意下载的Runtime的版本和Developer Runtime的版本一定要一致!

例如我现在Runtime的版本号是:4.0.50917.0,同时我安装的Developer Runtime的版本号也是:4.0.50917.0

 

 如果装不上去可以先卸载Silverlight后,在试试:

 

http://www.microsoft.com/getsilverlight/resources/help.aspx?errorID=1502

 

卸载Silverlight步骤:

启动注册表辑器:

  1. 在 Windows Vista 中,单击“开始”,在“开始搜索”框中键入 regedit,然后按 Enter。
  • 在 Windows XP 中,单击“开始”,单击“运行”,在“打开”框中键入 regedit,然后单击“确定”。
  1. 找到并单击以选中以下注册表项:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Silverlight
  2. 选中该项后,从“编辑”菜单中选择“删除”,然后在看到确认提示时单击“是”。
  3. 在“文件”菜单中,单击“退出”,以退出注册表编辑器。

 

这里可以查看自己的Silverlight安装版本:

http://www.microsoft.com/getsilverlight/get-started/install/default.aspx

 

posted @ 2010-05-01 16:29  bigbigdotnet  阅读(7243)  评论(5编辑  收藏  举报