with visual studio 2022 its the "Windows Form App" template, no "(.net framework)" suffix.
Can't get VS Studio to see 6.0 or 8.0 Frameworks
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.
2 answers
Sort by: Most helpful
-
-
Anna Xiu-MSFT 29,516 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.
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.