Question

We are planning on upgrading our VS 2010 solution from MVC2 to MVC4 (without changing code because it's backwards-compatible).

I understand that we have to upgrade to MVC3 first. How can I upgrade our solution to MVC3 without changing our codebase?

The reason is that we want to start using MVC4 for new code and at the same time, we want the current code unmodified.

If anyone can help, I greatly appreciate it. All of the solutions that I've seen have some sort of tool to convert it automatically, but I'm scared that our current code-base would be modified and potentially break.

Any help is greatly appreciated in advance.

Was it helpful?

Solution

Our solution here is an extremely customized MVC2 solution. Our solution is the most customized MVC2 solution that I have encountered. Still, this link guides you through it and it works!

This worked for me:

ASP.NET MVC2 to MVC3

http://mvcdecoder.wordpress.com/2012/01/28/upgrade-application-from-asp-net-mvc2-to-mvc3/

ASP.NET MVC3 to MVC4 (directly from the ASP.NET whitepaper) Do this manually:

http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253806

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top