VS 2010 和 XBAP 的问题
在 VS 2010 中,我创建了一个新的 WPF 浏览器应用程序项目。创建项目后,我通过按 F5 键启动项目来运行或调试它。现在 Firefox 打开并显示一个对话框,用于下载 XBAP 文件或使用其他应用程序(IE)执行该文件。如果我在 Windows 中双击 XBAP 文件,通常 IE 会启动。无论如何,VS 使用了错误的浏览器。 VS中有一个选项可以将IE设置为默认浏览器而不是Firefox吗?
对了,在项目设置=>调试是我可以设置启动程序的一个选项。当然,我可以将IE设置为正确的浏览器。问题是我必须在每个项目中以及每次想要启动 XBAP 时设置此选项。
VS 有修复或更新吗? (顺便说一句,我使用的是 Windows 7)
In VS 2010, I've created a new WPF Browser Application project. Once the project has been created, I started the project by pressing the F5 key to run or debug it. Now Firefox opens and shows me a dialog to download the XBAP file or to execute the file with another application(IE). Normally IE starts up, if I double click on the XBAP file in windows. Anyway, VS uses the wrong browser. In there an option in VS to set the IE as the default browser instead of Firefox?
By the way, in the project settings => Debug is an option were I can set the start up program. Of course, I can set there IE as the right browser. The problem is that I must set this option in every project and every time when I want to start a XBAP.
Are there fixes or updates for VS? (I'm using Windows 7 BTW)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过将 IE 设置为默认浏览器解决了我的问题。现在可以了。缺点是 Firefox 现在不再是默认浏览器。
I've solved my problem by set the IE as the default browser. Now it works now. The drawback is that Firefox is now not longer the default browser.