asp.net core web application not showing in visual studio 2019

qasimidl 106 Reputation points
2023-03-09T14:09:34.9833333+00:00

asp.net core web application not showing in visual studio 2019

Hi,

i have installed visual studio 2019, with asp.net and .NET core features.

Problem/Issue:

while creating new project,"asp.net core web application" not showing, its showing asp.net web application ( .net framework).

What already done

i have also installed .NET core 3.1 sdk, and also confirm on cmd prompt.

its showing 3.1.426 version by writing. " dotnet --version" command .

Solution Required:

what to do to get "asp.net core web application" feature to create new project of ".net core" in visual studio 2019 .as we have other options available to create new application of asp.net web application why asp.net core web application feature is missing.

PFA for reference of project list

Thanks

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 59,966 Reputation points
    2023-03-09T16:52:17.8566667+00:00

    as suggested VS 2019 only supports up to core 3.1. These versions of core are no longer supported. If you want to create supported versions of .net core (6.0+) you need to upgrade to visual studio 2022 or use visual studio code instead.

    1 person found this answer helpful.

6 additional answers

Sort by: Most helpful
  1. AgaveJoe 27,341 Reputation points
    2023-03-09T14:41:14.9333333+00:00

    what to do to get "asp.net core web application" feature to create new project of ".net core" in visual studio 2019 .as we have other options available to create new application of asp.net web application why asp.net core web application feature is missing.

    Make sure you've installed the "ASP.NET and web development" and ".NET Cross Platform development workloads.

    Install .NET on Windows

    .NET 3.1 is out of support. Visual Studio 2022 and .NET 6 is a much better option.

    0 comments No comments

  2. Zhi Lv - MSFT 32,071 Reputation points Microsoft Vendor
    2023-03-10T03:20:07.03+00:00

    Hi @qasimidl

    asp.net core web application not showing in visual studio 2019

    What's your VS(visual studio) 2019 version? Please go to Help -> About Microsoft Visual Studio and check it.

    Besides, you can try the following methods to solve the problem:

    1. Repair the VS 2019 via the Visual Studio Installer.
    2. Upgrade the VS 2019 to the latest version via the Visual Studio Installer.
    3. Open Visual Stidop Installer, select the VS 2019, click "Modify" to open the Modifying window, then, in the Workloads panel, select the "ASP.NET and web development" and the ".NET Core cross-platform development" workloads. User's image Then, go to the Individual components panel, select the .Net core components: Getting Started With Visual Studio 2019 Community Edition For ASP.NET Core 5.0 After that, click the Install button to install the relates components. Finally, restart the VS 2019 and check whether the Asp.net core template is existed or not.
    4. Report a problem with the Visual Studio.
    5. Re-install the VS 2019. [Note] If you have to re-install the Visual Studio, VS 2022 is a good choice.

    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.

    Best regards,

    Dillion

    0 comments No comments

  3. مقصود احمدی 0 Reputation points
    2024-01-27T08:32:00.0166667+00:00

    Hello, I have just started web programming and I am writing a program with Visual Studio, but whatever I do, the project does not run. The first time I tried to run the project, it shows a box saying do you trust the program or I clicked no.

    0 comments No comments

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more