New Project does not list all installed .Net versions

Jim Iwasiw 21 Reputation points
2022-05-03T23:05:05.877+00:00

I have several .net4.x SDK versions installed but New Project in VS2019 and VS2022 will not list them as available. Only gives me .net 5 and Core 3.0/3.1

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,138 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 83,101 Reputation points
    2022-05-04T05:06:14.62+00:00

    I have several .net4.x SDK versions installed but New Project in VS2019 and VS2022 will not list them as available. Only gives me .net 5 and Core 3.0/3.1

    .NET 4.x is .NET Framework, not .NET Core
    Have you selected the right project type,including .NET Framework ? :

    198722-net-framework-project.jpg


2 additional answers

Sort by: Most helpful
  1. Jiachen Li-MSFT 28,941 Reputation points Microsoft Vendor
    2022-05-04T01:54:43.68+00:00

    Hi @Jim Iwasiw ,
    Try to install the corresponding targeting pack in Visual Studio Installer.
    198673-image.png
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    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.


  2. Jim Iwasiw 21 Reputation points
    2022-05-04T19:36:11.987+00:00

    Yes I have selected a framework project

    0 comments No comments