Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing ASP.NET 5 Templates

Tags:

I am following this setup tutorial

https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html#create-a-new-asp-net-5-project

And have come across a problem. In the tutorial the instructions are as follows:

Start Visual Studio 2015. From the File menu, select New > Project.

Select the ASP.NET Web Application project template. It appears under Installed > Templates > Visual C# > Web. Name the project ContosoBooks and click OK.

This is fine, but in the next step :

In the New ASP.NET Project dialog, select Web Application under ASP.NET 5 Preview Templates. Also, make sure the Host in the cloud checkbox is not selected and click OK.

I am seeing no ASP.NET 5 Preview templates!

enter image description here

The only thing I am noticing is that my Authentication states No Authentication but I am signed in so I am not sure what this means or whether or not this is a factor.

The version I have installed of Visual Studio is "Community 2015".

I have already gone through the perquisites as outlined in This Article.

I am hoping that someone with a more thorough knowledge on the topic can help me out as I have not been able to find any threads etc. of the same issue or what could be causing the Templates to be missing.

like image 333
Danny Mahoney Avatar asked Jan 02 '16 22:01

Danny Mahoney


1 Answers

Asp.net 5 templates no longer exist - they are renamed to Asp.net Core: ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0

So, when creating your project, instead of picking "ASP.NET Web Application" as it is in the video - you would select "ASP.NET Core Web Application" and then on the next page those 3 templates (Empty, Web API, Web Application) are the same as the video's asp.net 5 preview templates

like image 166
MrLehiste Avatar answered Sep 20 '22 15:09

MrLehiste