Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2015 Preview missing "ASP.NET 5 Web Application" project type?

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

vNext Project templates in Visual Studio 2015

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.

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?

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.

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:

enter image description here

like image 879
SeanKilleen Avatar asked Dec 28 '14 15:12

SeanKilleen


People also ask

Is .NET 5 still in preview?

The . NET 5.0 release is now “feature complete”, meaning that very nearly all features are in their final form (with the exception of bug fixes still to come). Preview 8 is, appropriately, the last preview.

Is .NET 5 included in Visual Studio?

NET 5.0 component in Visual Studio will be changed to out of support and optional," Microsoft said in a March 24 post. "This means that workloads in Visual Studio may be installed without installing . NET 5.0.


3 Answers

I was having the same problem, except that unlike the accepted answer suggests, the ASP.NET Web Application was not on the list of templates at all.

I was able to get it to show up after following the instructions from this article.

  1. From Visual Studio 2015: Tools -> Extensions and Updates
  2. Select Online then click Visual Studio Gallery
  3. Search for ASP.NET Project Templates and download the first result.
  4. Go through installation process, relaunch Visual Studio, and Web Application should now be an option!

Alternately, you can download the templates directly here.

I believe this download actually is meant to install some other templates that I wasn't interested in, but installing them must have also installed the base template in the process. Either way, it worked for me.

like image 99
Sam Avatar answered Oct 14 '22 03:10

Sam


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 template options

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:

ASP.NET Web Application templates

like image 35
slypete Avatar answered Oct 14 '22 03:10

slypete


In Visual Studio 2015 Preview Microsoft has renamed ASP.NET vNext to ASP.NET 5

If you open http://www.asp.net/vnext, in every article vNext is metioned as ASP.NET 5

like image 7
Nikolay Kostov Avatar answered Oct 14 '22 04:10

Nikolay Kostov