Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 keeps changing my default browser

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?

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.

like image 504
jansokoly Avatar asked Jul 23 '10 08:07

jansokoly


1 Answers

This should solve your problem:

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

like image 164
automagic Avatar answered Sep 28 '22 05:09

automagic