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

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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.

Method 2

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

Method 3

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

Method 4

In following Sam’s Suggestion, I noticed that there were Updates Pending. One of these updates included the missing ASP.NET 5 templates.

Tools > Extensions & Updates > Updates > Visual Studio Gallery

Once updated & Installed, the Web Application was then available as described in the tutorial.

Method 5

The new update released this week has renamed ASP.NET 5 into a new framework which they are now calling ASP.NET Core. More information can be found in this article https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/

Method 6

VS 2015 Preview is going under ASP.net Core web application. If you cant see that one under templates you may go to this site and download .NET Core 1.0 for Visual Studio then install.

VS 2015 Preview missing "ASP.NET 5 Web Application" project type?
enter image description here

Method 7

In my case the problem was in the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 corrupted installation.

It was performed:

  • install the ASP.NET Project Templates following answer from this post – NO RESULT
  • reinstalling Microsoft Web Developer Tools from the identical SO postNO RESULT
  • fresh install the IDE using TotalUninstaller tool – NO RESULT
  • repair the Microsoft .NET Core 1.0.1 (see the sketch below) – SOLVED

Only repair .NET Core 1.0.1 finally solved the problem!

uhqwq

Method 8

For that you have to download the .net core cross platform development, below steps you will refer

  1. open VISUAL Studio installer
  2. click the option in the list click modify
  3. below image you can refer it
    enter image description here
  4. once complete installation,now you have the option for asp.net core web application


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x