Change Visual Studio Default Browser in an ASP.NET MVC project

For MVC1:

  • there is a default.aspx just right click on the page and select browse with and a dialog pops out for you to set your default browser.

For MVC2:

  • we need to trick the project a little bit.
    There are 2 ways
    1.) You can add default.aspx on the project, just right click on the project and add a new item then select MVC 2 view page and then name it default.aspx and there you can right click it and do the same steps on changing the default browser for mvc1.

    2.) You can add an html page anywhere within the project and after adding it just right click and select browse with and just do the same steps on changing the default browser for mvc1.

For VS2010:

  • You can try this extension. It is safe, hopefully this will be added in the next releases of Visual Studio.

    http://visualstudiogallery.msdn.microsoft.com/en-us/bb424812-f742-41ef-974a-cdac607df921

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)