Reputation: 643
I'm running VS2010 SP1 and Azure 1.4 Tools on Windows 7 SP1. My system default web browser is Chrome. My Visual Studio default web browser is Firefox (right click on .aspx file - Browse with - set default).
When I hit CTRL+F5 (start without debugging), my cloud service web role starts in Chrome.
When I hit F5 (start with debugging), my cloud service web role opens two windows - one in Chrome, one in Firefox.
I tried devenv /resetsettings
to no avail. How do I make VS honor its default?
Upvotes: 1
Views: 537
Reputation: 643
Although this doesn't make sense - it has fixed the problem on two out of two cases: enable the Silverlight debugger on the web project.
After ticking the Silverlight box, F5 and CTRL+F5 started behaving normally, respecting my Visual Studio default browser.
Upvotes: 1
Reputation:
VS 2010 uses the default browser when you press F5 in a web project, then it caches what your default browser is in %LOCALAPPDATA%\Microsoft\VisualStudio\10.0\browsers.xml, you can find this exact file in your registry under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\WebBrowser\ConfigTimestamp\CacheFilePath . Try to change your default web browser.
Upvotes: 1