使用IE9测试版调试Silverlight应用程序 [英] Debugging Silverlight applications with IE9 beta

查看:107
本文介绍了使用IE9测试版调试Silverlight应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天在IE9测试中花了一些时间来调试VS 2010的SL3应用程序,并注意到了一些怪癖。有时在VS中启动Silverlight应用程序时,无法在浏览器中加载,但F5中的刷新往往会解决问题。另外,有零星的脚本错误弹出一个调试对话框 - 这些似乎也通过刷新页面来修复。有没有人遇到这些问题,找到一个修复?

I spent some time debugging a SL3 application with VS 2010 in IE9 beta today and noticed a few quirks. Sometimes when launching the Silverlight app in VS it fails to load in the browser, but refreshing with F5 tends to fix the problem. Also, there are sporadic scripting errors that pop up a debug dialog - these also seem to be fixed by refreshing the page. Has anyone run into these problems and found a fix?

编辑:我最流行的错误是:
错误:ASP.NET Ajax客户端框架失败

My most prevalent error is: Error: ASP.NET Ajax client-side framework failed to load.

推荐答案

我不明白为什么,但是在Silverlight论坛上没有名字的人已经找到了一个解决方案,我:

I don't understand why, but someone without a name at the Silverlight forums has found a solution that worked for me:

只需将此条目添加或取消注释到您的主机文件(%SystemRoot%\system32\drivers\etc\hosts):
127.0 .0.1 localhost

Just add or uncomment this entry to your hosts file (%SystemRoot%\system32\drivers\etc\hosts): 127.0.0.1 localhost

这篇关于使用IE9测试版调试Silverlight应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆