Setting the default browser in Visual Studio

imageSince installing Visual Studio 2008 when I debug web projects VS opened the project in my default browser (currently Maxthon) and not Internet Explorer. Of course this isn’t what I wanted. So I opened up trusty Google and found an answer on stevenharman.net.

As it turns out setting this is quite simple.

  1. Open a WebForm file in VS (anything ending in .aspx will do)
  2. Select the “Browse With…” option from the File menu
  3. Select your preferred browser from the list and click the “Set as Default” button

Now opening, browsing, or debugging a WebForm from within Visual studio will open the file in the specified browser (IE in my case) rather than my system default.

And what do you know it works. Here’s the complete article if you are so inclined. Thanks Steven.