Visual Studio 2019 Web Site Template

11,694

Solution 1

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. This can be accessed through Tools > Get Tools and Features... or by modifying the installation through Control Panel.

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

Solution 2

One way to do this is to select File --> Open --> Web Site from Visual Studio. Click on File System. Select your target folder or click on the Create New Folder icon and name it as you prefer.

This will create an empty web site project and you can add new pages, folder and the like as needed.

Share:
11,694

Related videos on Youtube

kyletme
Author by

kyletme

Updated on September 18, 2022

Comments

  • kyletme
    kyletme over 1 year

    How can I create a new Web Site project (not Web Application) in Visual Studio 2019? The only options I have available are all Web Applications that require compilation to publish.

    For ASP.NET WebForms not MVC.

  • Sunil
    Sunil over 4 years
    Thanks for a very detailed and easy to follow answer. This solved my issue.
  • Sixthsense
    Sixthsense almost 4 years
    Faced the same issue and your answer made me to get it back. But I don't see VB and it shows only C# :(
  • ChiMo
    ChiMo over 3 years
    I use a offline install for VS, modifying the install isn't an option as it fails on download, however was able to find the same menu going through Tools > Get Tools and Features...