简体   繁体   English

如何在VS 2015企业版上创建新的MVC5项目?

[英]How to create new MVC5 project on VS 2015 enterprise edition?

1. This picture show version of VS2015 1.这张图片展示的是VS2015版本 在此处输入图片说明

2. List of Install product 2.安装产品清单

Architecture and Modeling Tools 00322-90150-00969-AA240 建筑和建模工具00322-90150-00969-AA240

Microsoft Visual Studio Tools for Applications 2015 00322-90150-00969-AA240 Microsoft Visual Studio工具适用于应用程序2015 00322-90150-00969-AA240

Visual Basic 2015 00322-90150-00969-AA240 Visual Basic 2015 00322-90150-00969-AA240

Visual C# 2015 00322-90150-00969-AA240 视觉C#2015 00322-90150-00969-AA240

Visual C++ 2015 00322-90150-00969-AA240 Visual C ++ 2015年00322-90150-00969-AA240

Application Insights Tools for Visual Studio Package 7.18.00214.2 适用于Visual Studio软件包的Application Insights工具7.18.00214.2

ASP.NET and Web Tools 2015.1 14.1.21111.0 ASP.NET和Web工具2015.1 14.1.21111.0

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 ASP.NET Web框架和工具2012.2 4.1.41102.0

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 ASP.NET Web框架和工具2013 5.2.40314.0

Azure App Service Tools v3.0.0 14.0.30222.0 Azure应用服务工具v3.0.0 14.0.30222.0

Azure Data Lake Node 1.0 Azure数据湖节点1.0

Azure Data Lake Tools for Visual Studio 2.2.6000.1 适用于Visual Studio 2.2.6000.1的Azure Data Lake工具

Azure Data Lake Tools for Visual Studio 2.2.6000.1 适用于Visual Studio 2.2.6000.1的Azure Data Lake工具

Common Azure Tools 1.8 通用Azure工具1.8

JavaScript Language Service 2.0 JavaScript语言服务2.0

JavaScript Project System 2.0 JavaScript项目系统2.0

Microsoft .NET Core Tools (Preview 2) 14.1.21111.0 Microsoft .NET Core工具(预览版2)14.1.21111.0

Microsoft Azure HDInsight Azure Node 2.2.6000.1 Microsoft Azure HDInsight Azure节点2.2.6000.1

Microsoft Azure Hive Query Language Service 2.2.6000.1 Microsoft Azure Hive查询语言服务2.2.6000.1

Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure移动服务工具1.4

Microsoft Azure Stream Analytics Language Service 2.2.6000.1 Microsoft Azure流分析语言服务2.2.6000.1

Microsoft Azure Tools 2.9 Microsoft Azure工具2.9

NuGet Package Manager 3.5.0 NuGet软件包管理器3.5.0

PreEmptive Analytics Visualizer 1.2 PreEmptive Analytics Visualizer 1.2

SQL Server Analysis Services 13.0.1701.8 SQL Server Analysis Services 13.0.1701.8

SQL Server Data Tools 14.0.61021.0 SQL Server数据工具14.0.61021.0

SQL Server Integration Services SQL Server集成服务

SQL Server Reporting Services 13.0.1701.8 SQL Server报告服务13.0.1701.8

ToolWindowHostedEditor 1.0 ToolWindowHostedEditor 1.0

TypeScript 1.8.36.0 打字稿1.8.36.0

3. I want to create new MVC project then I click "New Project" and i select Visual C# Web in menu on left panel shown as picture below. 3.我想创建一个新的MVC项目,然后单击“新建项目” ,然后在左面板的菜单中选择Visual C#Web ,如下图所示。 在此处输入图片说明

3.1 I click new project and select ASP.NET Web Application(.NET Framework) and click OK then it's show no MVC. 3.1我单击新项目,然后选择ASP.NET Web应用程序(.NET Framework) ,然后单击“确定”,然后显示没有MVC。 Look at the picture below. 看下面的图片。 在此处输入图片说明

3.2 I change from ASP.NET Web Application(.NET Framework) to ASP.NET Core Web Application(.NET Core) it same issue no MVC. 3.2我从ASP.NET Web应用程序(.NET Framework)更改为ASP.NET Core Web应用程序(.NET Core) ,相同的问题是没有MVC。 Look at the picture below. 看下面的图片。 在此处输入图片说明

3.3 I change to ASP.NET Core Web Application(.NET Framework) it same issue no MVC. 3.3我更改为ASP.NET Core Web应用程序(.NET Framework),但没有MVC。 在此处输入图片说明

How to create new MVC5 project on VS 2015 enterprise edition.? 如何在VS 2015企业版上创建新的MVC5项目? How to find MVC template.? 如何找到MVC模板?

"Sorry for bad english skill" “对不起,英语能力很差”

Looks like you have missed to check "Microsoft Web Developer Tools(see the image below)" while installing VS2015. 似乎您在安装VS2015时错过了检查“ Microsoft Web Developer Tools(请参见下图)”的问题。 Modify your VS2015 and this time check this option to install so the MVC options should appear again. 修改您的VS2015,这次检查此选项以进行安装,因此MVC选项应再次出现。

After installing Microsoft Web Developer Tools; 安装Microsoft Web Developer Tools之后; Select "ASP.NET Web Application" and then select "MVC" to create your MVC project. 选择“ ASP.NET Web应用程序”,然后选择“ MVC”以创建您的MVC项目。 After creating it, go to reference folder, look for System.Web.MVC, right-click on it, select Properties and look at the Version property. 创建它之后,转到参考文件夹,查找System.Web.MVC,右键单击它,选择Properties,然后查看Version属性。 It should be something like "5.xx" and targetFramework ="net452". 它应该类似于“ 5.xx”和targetFramework =“ net452”。

在此处输入图片说明

For more details please see this post. 有关更多详细信息,请参见这篇文章。 Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM