VS 2022 Community - I can't add a new 'Web Form' to my project. Missing items from Project "Add New Item..." window.

Martin Bell 1 Reputation point
2022-01-13T16:34:04.443+00:00

I've just installed VS 2022 Community and I'm attempting to work on a Web Form project, but when I choose "Project/Add New Item..." there is no item to select for a web form. Is this not supported in the 2022 version? I've tried using a "new" web form project and also by opening a pre-existing project that was built using VS 2019 Community.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,319 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. AgaveJoe 26,151 Reputation points
    2022-01-13T22:55:01.87+00:00

    The Web Forms template is available in VS 2022. Maybe you did not install the asp.net workload.

    https://www.howtosolutions.net/2021/11/visual-studio-missing-asp-net-web-application-template-dotnet-framework/

    0 comments No comments

  2. Yijing Sun-MSFT 7,071 Reputation points
    2022-01-14T01:56:28.067+00:00

    Hi @Martin Bell ,
    Do you install the correct package? If you still can't find thw web application, you only unstall and reinstall vs2022.
    164890-test1.png

    Best regards,
    Yijing Sun


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Kimbo Slice 0 Reputation points
    2024-01-09T15:58:56.5933333+00:00

    Same issue, ASP.NET is in fact selected... yet no option for web forms

    Completely fresh installation, too.

    Edit: check the info here

    0 comments No comments