Visual Studio 2010不断更改我的默认浏览器 [英] Visual Studio 2010 keeps changing my default browser

查看:147
本文介绍了Visual Studio 2010不断更改我的默认浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Opera是我选择的浏览器,因此将其设置为系统默认浏览器.但是为了在Visual Studio中调试Web应用程序,我更喜欢IE,因此我在文件浏览方式"中将其设置为默认值. 奇怪的是,Visual Studio 2010一直以未知的方式将其默认浏览器更改为系统默认值(VS重新启动就是其中一种情况). 有没有办法保留此设置?

Opera is my browser of choice, so it's set as system default browser. But for debugging web apps in Visual Studio I prefer IE so I set it as default in File-Browse With... What's weird here is that Visual Studio 2010 keeps changing its default browser to system default in an unknown manner (VS restart is one of the situations). Is there a way to persist this setting?

更新: 来自"VS之乡" 的优秀人士已经创建了一个名为

Update: The fine folks from World of VS have created a Visual Studio extension called World of VS Default Browser Switcher out of Scott Hanselman's code, which is still not a solution, but a solid workaround to the problem.

推荐答案

这应该可以解决您的问题:

This should solve your problem:

http://www.hanselman.com/blog/HowToChangeTheDefaultBrowserInVisualokeYesPeoplePhilYes

http://www.hanselman.com/blog/HowToChangeTheDefaultBrowserInVisualStudioProgrammaticallyWithPowerShellAndPossiblyPokeYourselfInTheEye.aspx

这篇关于Visual Studio 2010不断更改我的默认浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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