.NET 6.0 未在 VS2022 (17.1.3) 中列出

.NET 6.0 not listed in VS2022 (17.1.3)

据我所知,VS2022 应该支持 dotnet 6.0 框架并使其易于定位...但出于某种原因,当我尝试创建 WinForm 应用程序时,VS2022 没有 .NET 6.0 的框架目标选项...

唯一可用的框架是:

https://prnt.sc/zP2h6_DL9a5q

我一直在调查这个,我只发现用户有类似的问题,但他们的问题解决方案是基于他们的 Visual Studio 版本,因为每个人都有类似的问题 use/used vs2019...

如果您知道如何使 .NET 6.0 在框架下拉列表中成为目标,我将不胜感激。

提前致谢,卢克。

.NET 和 .NET Framework 的区别在于

Developers use the .NET Framework to create Windows desktop applications and server based applications..NET is used to create applications that could run on Windows, Linux and Mac. It does not support creating Windows desktop applications on platforms other than Windows.

.NET 5+ (including .NET Core) is the latest implementation and runs on any platform. .NET Framework is the original implementation of .NET, and runs only on Windows.

可以看到this page.

如果您想从 .NET Framework 迁移到 .NET,可以参考 this