Travis P
Travis P

Reputation: 643

Azure 1.4 / VS 2010 Default Web Browser

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

Answers (2)

Travis P
Travis P

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.

  • Right click / properties on web project
  • Web tab
  • Enable ASP.NET and Silverlight

After ticking the Silverlight box, F5 and CTRL+F5 started behaving normally, respecting my Visual Studio default browser.

Upvotes: 1

user152949
user152949

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

Related Questions