25

I am creating an application using VS 2019 and Web API (.NET Framework). I need to create a blank website, but getting only web application project template. Is there any tools do i need to be installed? Please check the below image to understand my need.

VS 2017

enter image description here

VS 2019

enter image description here

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
sebu
  • 2,824
  • 1
  • 30
  • 45

1 Answers1

52

To create "ASP.NET Web Site" projects in Visual Studio 2019 you need to install the "Additional project templates (previous versions)" ASP.NET Component as shown below.

I have to confess I'd missed this option too as it's only visible if you click on the ASP.NET workload and is not listed on the "Individual components" tab!

enter image description here

After installing the component, the templates are now present:

enter image description here

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108