Windows Desktop (5) 在 .net 5 的上下文中意味着什么?

What does Windows Desktop (5) mean in context of .net 5?

我看到了 this link for the Registry class,其中说明它适用于 Windows Desktop 5“版本”的 .net。我搜索了这意味着什么,但不幸的是,此类搜索的信噪比很大。

那么 Windows Desktop 5 是什么意思?我知道 .net 是什么,.net 框架,.net 核心,.net 标准,UWP,各种 Xamarin“版本”...但不知道 Windows Desktop 是什么。

考虑到我创建了一个新的 .net 5 WPF 项目并输入 Registry,然后单击 CTRL+,这就更奇怪了。并且可以选择添加 using Microsoft.Win32; 而无需执行任何其他操作。所以它似乎只是 .net 5 的一部分,即使将“版本”更改为 .net 5 告诉我:

The requested page is not available for .NET 5.

documentation for .Net Project SDKs 状态:

The .NET SDK is the base SDK for .NET. The other SDKs reference the .NET SDK, and projects that are associated with the other SDKs have all the .NET SDK properties available to them. The Web SDK, for example, depends on both the .NET SDK and the Razor SDK.

它提到的 SDK 之一是 Microsoft.NET.Sdk.WindowsDesktop,即

The .NET Desktop SDK, which includes Windows Forms (WinForms) and Windows Presentation Foundation (WPF).

此版本 5(针对 .net 5.0)是 Registry [=28= 的文档中的“Windows Desktop 5” ] 说的是。

这在 MSBuild reference for .NET Desktop SDK projects 中有进一步的记录,它是

reference for the MSBuild properties and items that you use to configure Windows Forms (WinForms) and Windows Presentation Foundation (WPF) projects with the .NET Desktop SDK.