Asp.Net MVC3到MVC4升级工具? [英] Asp.Net MVC3 to MVC4 Upgrade Tool?

查看:226
本文介绍了Asp.Net MVC3到MVC4升级工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道手册指南,从3升级到4像这样的:
<一href=\"http://www.dotnetexpertguide.com/2011/12/upgrade-aspnet-mvc-3-project-to-mvc-4.html\">http://www.dotnetexpertguide.com/2011/12/upgrade-aspnet-mvc-3-project-to-mvc-4.html

I'm aware of manual guides to upgrade from 3 to 4 like this one: http://www.dotnetexpertguide.com/2011/12/upgrade-aspnet-mvc-3-project-to-mvc-4.html

导游在细节上,明确危险的信号变化。是否有处理从MVC3项目MVC4转换过程的工具?这意味着隐含迁移从.NET 4.0到.NET 4.5,里面确实有在所有的命名空间中的一些条款影响显著重定向微软在2个版本之间增加。

The guides vary in their details which clearly signals danger. Is there a tool that handles the transition from an MVC3 project to MVC4? This would implicitly mean migrating from .Net 4 to .Net 4.5, which does have some significant implications in terms of all the namespace redirects Microsoft added between the 2 versions.

我也知道导游手册,基本上说,放弃升级,而不是仅仅一块创造超过一块新的项目和港口的东西到新项目中。这对小失误造成大问题,很多明显的机会。

I'm also aware of manual guides that basically say to give up on upgrading and instead just create a new project and port things over piece by piece into the new project. This has a lot of obvious opportunities for small mistakes to create big problems.

所以,这是经过测试,我可以指望不使一个愚蠢的错误一样,我可能真的会有所帮助的工具。这是否存在?还有从MVC2去3,所以没有找到一个3〜4让我感到惊讶的工具。

So, a tool that's been tested I can count on to not make a silly mistake like I might would really help here. Does that exist? There's a tool to get from MVC2 to 3, so not finding one for 3 to 4 surprised me.

背景为什么我想升级:我们在.NET 4.5 MVC4几个新的项目,并在.NET 4中MVC3一个重要的较旧的项目(含部分的.Net 2和MVC 2的混合...)而我们更多的共享库向前发展的更老项目的斗争。我们可以在共享库冻结最后一道明显,或叉子他们,并保持2个版本......显然这些都不是非常有吸引力。我想preFER刚刚更新旧的项目工具集和将一切平等。

Background for why I'd like to upgrade: we have several newer projects on .Net 4.5 MVC4, and an important older project on .Net 4 MVC3 (with some .Net 2 and MVC 2 mixed in...), and the more our shared libraries move forward the more that old project struggles. We can freeze the last working on the shared libraries obviously, or fork them and maintain 2 versions... obviously neither of these is very appealing. I'd prefer to just update the toolset on the older project and bring everything into parity.

推荐答案

这是自动升级现在存在。

An auto-upgrade now exists.

检查了这一点:<一href=\"http://www.dotnetexpertguide.com/2013/02/aspnet-mvc-auto-upgrade-mvc-3-to-mvc-4-application.html\">http://www.dotnetexpertguide.com/2013/02/aspnet-mvc-auto-upgrade-mvc-3-to-mvc-4-application.html

这是一个的NuGet包叫做UpgradeMvc3ToMvc4

这篇关于Asp.Net MVC3到MVC4升级工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆