Blend 4 破坏了 Silverlight 的 VS2010
我的 VS2010 与 Silverlight 开发运行良好。然后我安装了 Expression Blend 4。现在,当我运行 VS2010 并尝试调试 silverlight 应用程序时,我收到一条错误消息,提示“无法开始调试。未安装 silverlight 开发人员运行时。请安装匹配的版本。”我尝试卸载 silverlight 工具,然后从头开始重新安装(最新的四月版本)。但我仍然收到同样的消息。所以基本上我现在无法进行VS2010 SL开发。我正处于回滚到上一个系统还原点并放弃 Blend 的边缘。但如果我这样做,我会担心产品激活将永远不会允许我在将来重新安装它,因为 MSDN 下载页面意味着我只能在一台计算机上安装它。任何帮助表示赞赏。
谢谢
I had VS2010 running fine with Silverlight development. Then I installed Expression Blend 4. Now when I run VS2010 and try to debug a silverlight app I get an error saying "Unable to start debugging. The silverlight developer runtime is not installed. Please install a matching version." I've tried uninstalling silverlight tools, and reinstalling them from scratch (the latest april version). But I still get the same message. So basically I'm now unable to do VS2010 SL development. I'm on the verge of just rolling back to my last system restore point and giving up on Blend. But if I do that I'd be worried that Product Activation would never allow me to reinstall it in the future, since the MSDN download page implies I'm only ever allowed to install it on a single machine. Any help appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
安装 Expression Studio 4 后,我遇到了同样的问题。我在以下位置安装了 Silverlight 的开发人员版本: http ://go.microsoft.com/fwlink/?LinkID=188039
问题似乎已解决。
希望有帮助。
I had the same problem after installing Expression Studio 4. I installed the Developer version of Silverlight at: http://go.microsoft.com/fwlink/?LinkID=188039
and the problem seems to be resolved.
Hope that helps.
尝试重新安装或修复 Silverlight 4 的 Silverlight_Tools。您已尝试过。
产品激活系统并不是那么严格,它必须考虑到硬件故障等需要重新安装的情况。
Try reinstalling or reparing the Silverlight_Tools for Silverlight 4.You tried that.
The product activation system isn't that draconian it has to allow for things like hardware failures etc which would require re-installs.
感谢您的建议。我这样解决了这个问题:由于我正在并行运行,因此我回滚到安装 Blend 之前拍摄的快照。然后我重新启动了Windows。然后我重新安装了 Blend(很高兴没有出现严重的激活问题!),一切正常。
那么为什么第二次有效而第一次却不起作用呢?第一次安装 Blend 时,我会关闭 VS2010、资源管理器等,但不会重新启动。也许某些隐藏的 VS 相关进程仍在运行。在这种情况下安装 Blend 会把一切搞砸,删除并重新安装东西也无法解决问题。显然,Blend 安装程序应该发现危险的过程并采取补救措施,但事实并非如此。也许微软建议您在安装新软件之前重新启动?这会有点麻烦,而我以前从来不需要这样做。我从中得到的真正教训是在虚拟机中工作并定期拍摄快照。
再次感谢。
Thanks for the suggestions. I solved it this way: Since I'm running under parallels, I rolled back to a snapshot taken before I'd installed Blend. Then I rebooted Windows. Then I reinstalled Blend (happily with no draconian activation problems!), and everything worked.
So why did it work the second time and not the first time? The first time I installed Blend, I'd shut down VS2010, explorer etc, but not rebooted. Perhaps some hidden VS-related process was still running. Installing Blend in that situation screwed everything up, and removing and reinstalling stuff didn't fix it. Obviously the Blend installer should have spotted the dangerous process and taken remedial action, but it didn't. Perhaps MS recommends you reboot before installing new software? That would be a bit of a nuisance, and I've never needed to before. My real lesson from this is to work in a VM and take regular snapshots.
Thanks again.