您的位置:首页 > 其它

silverlight无法调试,需要安装托管调试包

2010-06-11 08:53 447 查看
今天调试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步骤:

启动注册表辑器:

在 Windows Vista 中,单击“开始”,在“开始搜索”框中键入 regedit,然后按 Enter。

在 Windows XP 中,单击“开始”,单击“运行”,在“打开”框中键入 regedit,然后单击“确定”。

找到并单击以选中以下注册表项:

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Silverlight



中该项后,从“编辑”菜单中选择“删除”,然后在看到确认提示时单击“是”。

在“文件”菜单中,单击“退出”,以退出注册表编辑器。

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

http://www.microsoft.com/getsilverlight/get-started/install/default.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐