How to create an ASP.NET website in Visual Studio 2019?

35,033

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

Share:
35,033
sebu
Author by

sebu

Updated on May 10, 2021

Comments

  • sebu
    sebu about 3 years

    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

  • DreamTeK
    DreamTeK over 4 years
    Damn this was hidden well. Nice find!
  • abhi
    abhi almost 3 years
    Thank You! Very useful answer. This is hidden away.
  • Patratacus
    Patratacus over 2 years
    I was going crazy until I found this solution. What a well-hidden option.