Missing asp.net options in solution

Cody O'Meara 21 Reputation points
2022-09-29T13:29:47.167+00:00

I created a project in VS2019 on my desktop which I have relocated onto a different computer with VS2022 and it builds fine. However I am unable to add web pages the way I normally do.
246015-image.png

I pretty much installed all packages that I have on 2019 version and still don't see the options when I try to Add another page shown below. There is numerous asp.net options under this same spot in the 2019 version.
245980-image.png

I can add a picture one what I see on the VS2019 version in a bit but just wanted to get this up in case it was an easy fix as I wont be able to get on that computer for a few hours.

Any help is appreciated!

Developer technologies ASP.NET Other
Developer technologies C#
{count} votes

Accepted answer
  1. Lan Huang-MSFT 30,186 Reputation points Microsoft External Staff
    2022-09-30T02:33:37.593+00:00

    Hi @Cody O'Meara ,
    You need to select .net framework project and item templates to download.
    Project and item templates provide reusable stubs that give users some basic code and structure.
    https://learn.microsoft.com/en-us/visualstudio/ide/creating-project-and-item-templates?view=vs-2022
    246282-image.png
    Best regards,
    Lan Huang


    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

2 additional answers

Sort by: Most helpful
  1. Albert Kallal 5,586 Reputation points
    2022-09-29T21:19:16.343+00:00

    quite a common question. Vs has become really amazing, but also has such a huge and wide array of options.

    So, by default, the templates and options for every type of project does not install by default.

    So, you need to add some additional work flows.

    from vs2022, tools->Get Tools and Features.

    Then on right side, expand the asp.net tree, and add these:

    246234-image.png

    Quite sure the above 2 check boxes will add the older legacy templates for webforms.

    0 comments No comments

  2. Cody O'Meara 21 Reputation points
    2022-09-30T14:07:09.027+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.