[ACCEPTED]-How to change the default browser to debug with in Visual Studio 2008?-browser
- (In the Project Solution window) Right click a page (.aspx, or on a folder)
- Select Browse With...
- Choose your browser
- Click Set as Default
- Click Browse
0
ASP.NET projects:
- Right click a webpage (.aspx, or on a folder)
- Select Browse With...
- Choose your browser
- Click Set as Default
- Click Browse
ASP.NET MVC 1 projects:
Right click Default.aspx, then 4 follow steps above.
ASP.NET MVC 2 projects:
As there is 3 no Default.aspx, you need to create a Web 2 Form (right-click project > Add > New Item) and 1 follow the steps above.
If you use ASP-NET MVC, you need to right-click 2 on Default.ASPX which will have a Browse 1 With menu.
To permanently make Visual Studio open a 7 project in IE without changing the default 6 browser you can do the following:
Project Properties -> Web -> Start Action
Start external 5 program: C:\Program Files\Internet Explorer\iexplore.exe Command 4 line arguments: Enter the url of the path 3 to your start page ie http:\localhost\myproject\default.aspx
This 2 won't allow you to debug client side script 1 in Visual Studio though.
If you are using MVC 2 you do not need to 2 create another project, just add component 1 -> webform to the project then:
* Right click the webform * Select Browse With... * Choose your browser * Click Set as Default * Delete the webform
If you use MVC, you don't have this menu 2 (no "Browse With..." menu)
Create first a 1 normal ASP.NET web site.
I have passed this problem in VS2012. When 8 I can't find "Browse with.." on the right-click 7 of the project, I found it on File Menu 6 -> Browse with. If it doesn't appear, first 5 you have to click on menu bar, then try 4 open file menu again. If it still doesn't 3 appear, you can just go to Quick Launch 2 on the top right of menu bar then type it 1 "Browse with".
In VS 2010 just make the browser as your default broswer in which you want to run your application and there is no need to set anything in visual studio.
I did it for google chrome and its working 4 for me. I just made google chrome as my 3 default browser and its working fine. I 2 am almost sure that this should work in 1 VS 2008 also.
First click show all files. Then in the 3 bin folder choose any xml file and then 2 right click and by selecting 'browse with' select 1 your desired browser.
I find that the Browse With..
menu item only appears 2 in Visual Studio 2010 when I Run as administrator
. And in that 1 case it is available even while in debug mode.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.