简体   繁体   中英

How do you directly upgrade ASP.NET MVC1 to MVC3?

I have an ASP.NET MVC1 project and want to upgrade it directly to MVC3. I assume that there are two paths:

  1. Upgrade directly from 1 to 3
  2. Upgrade to 2 and then do a second upgrade to 3

Which is the path most traveled?

If you are using the ASP.NET Project upgrade tool you can only do the second path right now as stated in this blog :

The tool does not support Visual Studio 2008 solutions, MVC 1 projects, or projects targeting .NET 3.5. If you have a MVC 1.0 project you can use the old version of this tool to convert it to MVC 2.

I'm assuming you could manually upgrade directly to MVC 3, but why go through the hassle when you can run two wizards to upgrade the project for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM