0

I'm using Visual Studio 2015 community edition. But, suddenly all my ASP .Net 5 templates are missing. Any help would be highly appreciated

enter image description here

Sasu
  • 423
  • 1
  • 6
  • 21

1 Answers1

1

A new version of ASP.NET 5 was released a few weeks ago. It's now called ASP.NET Core and currently is at version RC2. So it doesn't use the ASP.NET 5 templates anymore. Under the Web templates you should have three selections:

ASP.NET Web Application (.NET Framework) - Used to create classic web applications.

ASP.NET Core Web Application (.NET Core) - Used to create pre-release ASP.NET Core applications that are cross-platform compatible.

ASP.NET Core Web Application (.NET Framework) - Used to create pre-release ASP.NET Core applications that are dependent on .NET Framework.

I installed Visual Studio Update 2 and ASP.NET Core RC2 one after the other. So I'm not sure which one changed the Web templates. But it seems that Update 2 did it since your ASP.NET 5 templates are gone and I assume you haven't installed ASP.NET Core RC2.

I would suggest upgrading to ASP.NET Core RC2 by following the install guide here. The ASP.NET 5 templates are gone for good. And there have been big changes with the latest release. Read about these changes here and here.

Clint B
  • 4,610
  • 2
  • 18
  • 22
  • So you mean I can not get ASP.NET 5 templates back? – Sasu May 31 '16 at 20:18
  • That's correct. There have been big changes with the latest release and the ASP.NET 5 templates are not compatible with the latest release. – Clint B Jun 01 '16 at 11:31
  • That's unfortunate!! I've been developing an web application using ASP.NET 5.. Now I'm afraid that I cannot continue to use same features. – Sasu Jun 01 '16 at 15:33
  • You can migrate your project. The same features still exist but many of them will be in new namespaces. The code will still work after you update your project dependencies (NuGet packages) and your references. My advice is to create a new project in RC2 and copy your code to the new project and then figure what dependencies you need. If you want to migrate your project though, [here is a guid](https://docs.asp.net/en/latest/migration/rc1-to-rc2.html). It's worth a read either way because it outlines some of the biggest changes in RC2. – Clint B Jun 01 '16 at 17:00