创建和VS 2012运行MVC 5项目 [英] Create and Run MVC 5 Project in VS 2012

查看:190
本文介绍了创建和VS 2012运行MVC 5项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关某种原因,我的Visual Studio 2013 preVIEW不能创建MVC 5个项目。由于MVC项目现在是开源在codePLEX我想知道是否有发展在我的Visual Studio 2012旗舰版MVC 5个项目的简单方法。

For some reason my Visual Studio 2013 Preview cannot create MVC 5 Projects. Since the MVC project is now open source in CodePlex I was wondering if there's a simple way to develop MVC 5 projects in my Visual Studio 2012 Ultimate.

推荐答案

一个新的教程最近已添加到ASP.NET网站<一个href=\"http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2\">how升级一个MVC4项目MVC5 。

A new tutorial has been recently added to the ASP.NET website on how to upgrade an MVC4 project to MVC5.

我使用迁移本教程没有问题的VS 2012的项目,但对剃刀3 VS2012由于<一个没有设计时支持href=\"http://blogs.msdn.com/b/webdev/archive/2013/07/10/how-does-vs-determine-which-version-of-razor-engine-to-use-when-editing-razor-webpage-files.aspx\">changes在路上VS加载剃刀引擎。

I migrated a VS 2012 project using this tutorial without problems, but there is no design time support for Razor 3 in VS2012 due to changes in the way VS loads the razor engine.

您可以编辑在VS2012剃须刀的页面,但是这将是一个普通的HTML编辑器。

You can edit razor pages in VS2012, but it will be a plain HTML editor.

这篇关于创建和VS 2012运行MVC 5项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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