views:

158

answers:

5

How can I choose/change which browser to start when I run an ASP.NET Web application in VS2005 or VS2008?

A: 

You have to change the default web browser for windows. Best way is to open you browser of choice and go to the options where you can usually find a "Set this as default browser" option.

Otherwise look at the windows default programs config.

Richard
A: 

By default Visual Studio will use whatever the default browser is on your computer. Switching your browser to a different default will change this.

Alternatively you can you can do this through the Project property pages.

Right Click on your project and select Properties. Go to the Web tab. Switch the Start Action to "Start External Program" and choose your web browser.

JaredPar
+2  A: 

One way is to choose File -> Browse with. That works for me when switching between IE and Firefox. You can use it to change the default browser to start with.

Just make sure you select the ASPX page you want to start on first, otherwise the menu item won't appear.

If you want to use the keyboard ALT F then ALT H works.

RichardOD
+1  A: 

Within the Solution Explorer, right click on a file and select "Browse With..." You can choose the default browser in the popup window.

Brian
+1  A: 
p.campbell