how to set default browser for visual studio 2005
I've seen a few people ask if it is possible to change what browser is launched and used when running web apps in VS 2005 and Visual Web Developer (for example: to use FireFox instead of IE). The good news is that there is an easy way to configure this. To-do this:
1) Right click on a .aspx page in your solution explorer
2) Select the "browse with" context menu option
3) In the dialog you can select or add a browser. If you want Firefox in the list, click "add" and point to the firefox.exe filename
4) Click the "Set as Default" button to make this the default browser when you run any page on the site.
Note that there is also an optional drop-down at the bottom of the dialog that lets you select the default browser window size when loading. You can choose 800x600 or 1024x768 if you want to visualize what the site will look like for people using those screen resolutions. This works for both IE and FireFox (and probably other browsers too -- those just happened to be the two I checked).
Hope this helps,
![]()
Sugar Creek, Missouri - 12/2011. Copyright © Steve Lautenschlager
| Change the Default Browser in Visual Studio 2005 and Visual Web DeveloperBy steve on February 19, 2007.Updated on January 12, 2013. Viewed 31,087 times (2 times today). |
Developer | Tips and Tutorials | ASP.NET | Visual Studio | Browsers |
Summary
Normally when working on a website in Visual Studio 2005 or Visual Web Developer, pressing Ctrl-F5 will open a browser to preview the website.
However, you might want to use a different browser. Or if you are targeting a specific screen resolution, you can also set that.
First, right click a web page in solution explorer and select "Browse with..."
![]() |
Click your desired browser and then "Set as Default"
![]()
If your desired browser isn't listed, click Add and navigate to the executable file
|
Select your target screen resolution as follows
![]() |
No comments:
Post a Comment