Upgrading from MVC 2 to MVC 4

.net, asp.net, asp.net-mvc, asp.net-mvc-2, asp.net-mvc-4

Solution

You would just right-click the one you want to run and choose the "Set as startup project" option. I've done this many times where I have multiple web applications in a single solution.

Problem

I wanted to upgrade my project to ASP .NET MVC 4. Currently, I have 2 projects in my solution. One's the MVC 2 project as the UI layer and the other one for my business logic. In order to upgrade to MVC 4, I was thinking of adding a new MVC 4 project to my solution, and copy over everything from my MVC 2 project, and just change the syntax in my views to use the razor syntax. Question is, since I'll be having two UI projects in my solution at the same time (MVC 2 and MVC 4), when I run the solution, will I have the option to run either and ignore the other one? Is this a good way to upgrade?

Original source