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

喜你入骨 提交于 2019-12-23 13:06:51

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/4888810/how-do-you-directly-upgrade-asp-net-mvc1-to-mvc3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!