在 VS 2012 中创建和运行 MVC 5 项目 [英] Create and Run MVC 5 Project in VS 2012
问题描述
出于某种原因,我的 Visual Studio 2013 预览版无法创建 MVC 5 项目.由于 MVC 项目现在在 CodePlex 中是开源的,我想知道是否有一种简单的方法可以在我的 Visual Studio 2012 Ultimate 中开发 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.
推荐答案
最近在 如何将 MVC4 项目升级到MVC5.
我使用本教程迁移了一个 VS 2012 项目没有问题,但由于 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 中编辑 razor 页面,但它将是一个纯 HTML 编辑器.
You can edit razor pages in VS2012, but it will be a plain HTML editor.
这篇关于在 VS 2012 中创建和运行 MVC 5 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!