.Net Framework 4.8未显示在Visual Studio Target Framework下拉列表中

问题描述

我已经安装了.Net Framework 4.8,并在注册表项中确认了同样的内容

enter image description here

在“项目属性”选项卡的“目标框架”下拉列表中,我仍然看不到相同的内容

解决方法

Microsoft 使用不同的项目模板来创建任何 2.0 到 4.8 .Net Framework 项目非常令人困惑

以下模板听起来很合理:

Plausible Template for Net Framework

注意只有两个选项。

Net Core only options

要查看的正确模板: enter image description here

在标题中包含“(.Net Framework)”:

Windows Forms Project Template .Net Framework 2.0 to 4.8