Can't get VS Studio to see 6.0 or 8.0 Frameworks

2024-10-01T15:22:53.4133333+00:00

I've been at this a while and can't seem to figure out where I am going wrong.

I'm trying to get a .Net 6 or 8 Framework to show up when I create a windows forms .net app from the template. Only 4.x frameworks show up. I've reinstalled VS Studio countless times, multiple machines and have done induvial packages. Path is set correctly and I have both 6 and 8 SDKs installed.

donet --list-sdks shows correct and does dotnet --version

I've been spinning for days...and not sure where to go.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,834 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,095 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,040 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 64,826 Reputation points
    2024-10-01T16:22:07.77+00:00

    with visual studio 2022 its the "Windows Form App" template, no "(.net framework)" suffix.

    0 comments No comments

  2. Anna Xiu-MSFT 28,756 Reputation points Microsoft Vendor
    2024-10-02T03:02:37.2133333+00:00

    Hi @Williamson, Jason Patrick, 

    Welcome to Microsoft Q&A!

    Are you using Visual Studio 2022? 

    When creating .NET 8.0 project, please ensure that you select the Windows Forms App project template not Windows Forms App (.NET Framework) template.

    User's image

    Besides, please search "Edit the system environment variables" in Windows Search box > Open it > Environment Variables… > System variables > select Path > Edit… > check if there are two paths to dotnet:

    C:\Program Files\dotnet

    C:\Porgram Files (x86)\dotnet 

    If you can find them, please click on the Move up button to move the entry C:\Program Files\dotnet before the x86 one.

    Then, re-launch your VS and create a Windows Forms App project to check if the .NET 8.0 is available. 

    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 Answers by the question author, which helps users to know the answer solved the author's problem.