VS 2015 Preview 缺少“ASP.NET 5 Web 应用程序"项目类型? [英] VS 2015 Preview missing "ASP.NET 5 Web Application" project type?

查看:25
本文介绍了VS 2015 Preview 缺少“ASP.NET 5 Web 应用程序"项目类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 2015 预览版中,我在新建项目"窗口中看到以下 vNext 模板:

In Visual Studio 2015 Preview, I see the following vNext templates in the "New Project" window:

我的印象是我还应该看到ASP.NET 5 Empty Web Application"或类似内容的条目,但我看不到这样的东西.这两个条目是我安装的唯一vNext"指定条目.

I am under the impression that I should also see an entry for "ASP.NET 5 Empty Web Application" or something similar, but I see no such thing. Those two entries are the only "vNext" designated entries that I have installed.

是否需要安装额外的二进制文件才能显示此类项目?或者我是否需要检查我的 VS 2015 Preview 安装?

Is there an additional binary I need to install in order to enable this type of project to appear? Or do I need to examine my VS 2015 Preview installation?

注意:我确实有一个ASP.NET Web 应用程序"条目,它引导我完成具有统一架构的设置,但似乎没有包含 project.json 文件或其他内容我正在与 ASP.NET 5 开发相关联.

Note: I do have an entry for "ASP.NET Web Application", which takes me through the setup with the unified architecture but does not appear to include a project.json file or things that I'm associating with ASP.NET 5 development.

更新:根据 这篇关于 2013 年的文章 我也尝试运行 devenv.exe/installvstemplates,但这也不起作用.澄清一下,我没有看到任何新的网页模板,下面的屏幕截图也说明了这一点:

Update: Per this article regarding 2013 I also tried to run devenv.exe /installvstemplates, but that didn't work either. To clarify, I don't see any new web template, which the screenshot below illustrates as well:

推荐答案

Visual Studio Ultimate 2015 Preview 包含创建 ASP.NET 5 (vNext) Web 应用程序所需的一切.您的问题中未描述的另一种通用选项应该可用:

Visual Studio Ultimate 2015 Preview contains everything you need to create an ASP.NET 5 (vNext) web application. One additional generic option should be available that's not depicted in your question:

目前还不是很清楚,但选择通用 Web 应用程序选项会显示您在以下对话框中寻找的一些 ASP.NET 5 (vNext) 选项:

It's not entirely clear at this point, but choosing the generic web application option will present a few ASP.NET 5 (vNext) options that you're seeking in the following dialog:

这篇关于VS 2015 Preview 缺少“ASP.NET 5 Web 应用程序"项目类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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