ildi deliu
ildi deliu

Reputation: 21

ASP.NET Core Web Application option is missing in Visual Studio 2019

I am trying to build a new project in Visual Studio 2019, but I cant find "ASP.NET Core Web Application" in the new project type selection window. I find only "ASP.NET Core Web Application (.NET Framework)".

I have updated Visual Studio and installed every feature from the installer. I downloaded Visual Studio 2017 and can find it there, but in Visual Studio 2019 it is not.

Upvotes: 2

Views: 22235

Answers (5)

Nahom
Nahom

Reputation: 1

I am facing similar issue with VS 2022 Community version after installation , When trying to create an asp.net Core Web application can not find related template for the project but it has all other templates for web development including asp .NET Core web app (MVC) and others

…..installing all necessary workloads and individual components doesn't solve the problem , I also tries to reboot system and visual studio after installation but it does not work .Now I am just trying to maintain installed vs 2022 from Vs installation center or Vs installer and check for the appearance of Asp. Net Core Web App Template .

Upvotes: 0

SerhatUluc
SerhatUluc

Reputation: 31

When I had this problem, the issue was that I was missing the .NET 5.0 SDK.

  • First modify Visual Studio from the Visual Studio Installer by removing ASP.NET and Web Development.
  • Then install .NET 5.0.
  • Last modify Visual Studio again by selecting ASP.NET and Web Development on the Visual Studio Installer.

Upvotes: 0

Dario Lucić
Dario Lucić

Reputation: 63

It's because Visual Studio changed the name of ASP.NET Core Web Application to ASP.NET Core Web App:

Upvotes: 0

krazors
krazors

Reputation: 144

In order to get .NET Core templates you should

  1. Open Visual Studio Installer (press the Win key and search for it)
  2. Click on "Modify"
  3. Check "ASP.NET and web development", then scroll to the bottom and check ".NET Core cross-platform development"
  4. Click "Modify" in left bottom corner and wait for it to install

Upvotes: 4

BoilermakerRV
BoilermakerRV

Reputation: 389

I just had a very similar issue. I did have "ASP.NET and web development" and ".NET Core cross-platform development" installed as suggested by @krazors. However, there were no APS.NET Core templates available.

The issue was eventually resolved by rebooting.

Upvotes: 1

Related Questions