Create a New Asp.Net Application Dialog Issue

AHSAN ALI 101 Reputation points
2023-09-24T19:37:39.7+00:00

VisualStudioError

I am unable to create an ASP.NET application on Net Framework 4.8.1 because the Create New Asp.Net Application Dialog does not show any option.

I am using Microsoft Visual Studio Community 2022 (64-bit).

Version 17.7.4

with Windows 11 Pro

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | ASP.NET | Other
{count} votes

2 answers

Sort by: Most helpful
  1. SurferOnWww 4,951 Reputation points
    2023-09-25T01:15:23.3966667+00:00

    It seems that your issue is similar to the post in the Stackoverflow in Japan:

    Visual Studio 2022「ASP.NET Core WEB アプリ(MVC)」の初期設定について

    In the answer, he says:

    (1) found a similar issue in the Development Community:

    Missing ASP.NET Core Web Application C# 3.0 WebApplication Template ASP.NET Core MVC

    (2) tried to check SDK version according to the following document, but no response.

    Check SDK versions

    (3) solved the issue by editing the order of environment variables as shown below:

    3f8f45a900b9-20221213

    Hope that the above will solve your issue.

    0 comments No comments

  2. Anna Xiu-MSFT 31,151 Reputation points Microsoft External Staff
    2023-09-29T03:17:34.6666667+00:00

    Hi @AHSAN ALI

    Welcome to Microsoft Q&A! 

    I tested it on my side and the project template is displaying normally. 

    Please close all running VS instances and open the Visual Studio Installer > More > Repair

    Then, re-launch the Visual Studio 2022 and check that the project is created properly. 

    You can try to launch your Visual Studio 2022 in Safe Mode (run devenv /SafeMode in Developer Command Prompt for VS 2022) and check it again. If the project template shows in safe mode, it may be related to the installed extensions. 

    Besides, you can consider reinstalling the Visual Studio 2022. 

    Sincerely,

    Anna


    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

Your answer

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