How do create a .NET 4.8 project when my only options are Core 6 and 7?

Dean Everhart 1,496 Reputation points
2023-05-31T16:39:54.2766667+00:00

How do create a .NET 4.8 project when my only options are Core 6 and 7?

Environment: Net Core 6 MVC, Visual Studio Community 2022 (64 bit), WIndows 11

User's image


If you want to improve, be content to be thought foolish and stupid...

― Epictetus

Sometimes the first duty of intelligent men is the restatement of the obvious.

― George Orwell

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,256 questions
{count} votes

Accepted answer
  1. Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
    2023-06-01T02:37:57.03+00:00

    Hi @Dean Everhart

    I'm having a hard time finding .net mvc C# option.

    From your description, it seems that you didn't install the .Net Framework related template.

    Try to open the Visual Studio Installer, and click the modify button:

    User's image

    Then in the popup window, go to the Individual components panel, selected the .Net Framework related SDK and Templates, after that click the Modify button.

    User's image

    Finally, re-open the Visual Studio, when create new project, you can find the .Net Framework template:

    User's image


    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

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AgaveJoe 26,201 Reputation points
    2023-05-31T17:39:06.1966667+00:00

    According to the screenshot you specifically selected an ASP.NET Core project. Select a .NET Framework project if you want to target .NET Framework.

    Capture

    You have the .NET Framework installed since you have ASP.NET Core. Anyway, make sure you have the correct workloads installed.

    Capture