升级MVC5项目MVC6 [英] Upgrade MVC5 project to MVC6

查看:410
本文介绍了升级MVC5项目MVC6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这些天,我想开始一个新的项目,MVC似乎真的很有趣,但我想知道是否有可能以一个MVC 5项目升级到MVC 6项目,该项目将在今年晚些时候发布?

In one of these days I would like to start with a new project and MVC seems really interesting, but I was wondering if it is possible to upgrade a MVC 5 project to a MVC 6 project, which will be released later this year?

还是你必须从头再来,因为很多事情已经改变开始?还是你建议我等到6 MVC释放?

Or do you have to start all over again since a lot of things have been changed? Or do you recommend me to wait until MVC 6 is released?

推荐答案

这不会是一个直接升级路径,有很多突破进行了更改。你可以开始使用MVC 6打不过现在,无需等待。您也可以下载的Visual Studio 2015年preVIEW ,开始吧。

It won't be a direct upgrade path, as a lot of breaking changes were made. You can start playing with MVC 6 now though, no need to wait. You can download the Visual Studio 2015 Preview and get started.

你的一些code将在移动,但你需要经历并验证它的每一位,并修复了很多错误。它可能更好地从地上爬起来与MVC 6开始。(微软建议这在一些Q&安培; A上的视频我看到)

Some of your code will move over, but you'd need to go through and verify every bit of it and fix a lot of errors. It's probably better to start from the ground up with MVC 6 (Microsoft has recommended this in some Q&A on videos I've seen).

的Visual Studio 2015年正式出来了,和ASP.NET 5和6 MVC在RC1状态。您可以创建一个新的ASP.NET项目5与6 MVC,然后就在所有的源文件复制。在此之后,尽管工作中的错误一个接一个,直到你已经解决了他们所有。

Visual Studio 2015 is officially out now, and ASP.NET 5 and MVC 6 are in RC1 status. You can create a new ASP.NET 5 project with MVC 6, then just copy over all the source files. After that, work though the errors one by one until you've solved them all.

这篇关于升级MVC5项目MVC6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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