简体   繁体   English

Visual Studio Community 2015和MVC2模板

[英]Visual Studio Community 2015 and MVC2 template

i'm trying to create project with tutorial of ASP.Net programming but at first step, teacher told me to create project from online template named ASP.NET MVC 2 Web Application. 我正在尝试使用ASP.Net编程教程创建项目,但是第一步,老师告诉我要从名为ASP.NET MVC 2 Web应用程序的在线模板创建项目。

screen: http://img2.altcontroldelete.pl/images/thumbs/09b32b23-5f25-9204-7140-0a112c6e81f4.jpg 屏幕: http//img2.altcontroldelete.pl/images/thumbs/09b32b23-5f25-9204-7140-0a112c6e81f4.jpg

Unfortunnetly I can't find it in my diag. 不幸的是,我在诊断中找不到它。 In online projects I don't have any templates. 在在线项目中,我没有任何模板。

screen: http://prnt.sc/b1y42k 屏幕: http//prnt.sc/b1y42k

Is in VS Community 2015 this is avalaible? 在VS Community 2015中可用吗?

Go to Tools>>Nuget Package Manger >> Package Manger Console 转到工具>> Nuget软件包管理器>>软件包管理器控制台

use command "Install-Package Mvc2" and press enter you are able to see MVC2 templates 使用命令“ Install-Package Mvc2”并按Enter,您将能够看到MVC2模板

I get it resolved by re-installing/Update the setup. 我可以通过重新安装/更新设置来解决它。

-Restart the setup for VS2015 Preview -Selected the required components to install -重新启动VS2015 Preview的安装程序-选择要安装的必需组件 在此处输入图片说明

After these steps, I received the desired templates. 完成这些步骤后,我收到了所需的模板。

Whenever anyone is installing VS2015 Preview first time, please Select the features under 'Optional features to install' to get the desired installation. 每当有人首次安装VS2015 Preview时,请在“要安装的可选功能”下选择功能,以进行所需的安装。

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

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