今天调试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

 

 如果装不上去可以先卸载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

相关文章:

  • 2022-01-13
  • 2022-12-23
  • 2021-09-05
  • 2021-06-13
  • 2022-12-23
  • 2021-11-23
  • 2022-01-10
  • 2021-05-07
猜你喜欢
  • 2022-01-07
  • 2021-07-16
  • 2021-08-08
  • 2021-12-09
  • 2021-04-01
相关资源
相似解决方案