1

I just created my first MVC2 project using the standard template. I need to be able to change the default browser for my project to test in IE (I use chrome as the default on my OS).

Unfortunately, the right click on default.aspx suggestion which worked in MVC1 can't work with these new projects as they don't have that file.

2
  • What do you mean 'you don't have that file'? Commented Apr 9, 2010 at 0:44
  • Thanks for the response. I confirmed that my newly created mvc2 proj doesn't have a default.aspx file. Right clicking on any of the mvc2 view pages doesn't give you the right options. I wasn't able to add a new item and choose a web forms style aspx page (not avail in the selection boxes). But, I could add a static HTML page and that DOES have the context menu option I need. So, I'm up and running now. Thanks! Commented Apr 9, 2010 at 2:23

1 Answer 1

1

I was able to click on the Default.aspx (this is a MVC2 project) file and choose any of the browsers installed in my system. Are you sure it's not working for you?

MVC2 Default Browser

If for some reason you don't have Default.aspx you can also add one, can you not?

If not, you can add a static .html page and use that as well.

Sign up to request clarification or add additional context in comments.

1 Comment

Still not sure why the mvc2 proj I created didn't have a default.aspx file. Using the project wizard I couldn't add a web forms style aspx page (which gives you the context action needed). However, I could add a static HTML page to my project and using that follow the advice to right click on that to change browser settings. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.