简体   繁体   English

.NET Framework 4.8 已安装但未在 Visual Studio 2019 社区中显示

[英].NET Framework 4.8 is installed but not showing in Visual Studio 2019 community

My operating system is Windows 10 Pro .我的操作系统是Windows 10 Pro

I have .NET Framework 4.8 installed.我安装了.NET Framework 4.8 I confirm it 2 ways:我通过两种方式确认:

  1. Open Registry Editor then go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET Framework Setup\NDP\v4\Full key.打开注册表编辑器然后 go 到Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET Framework Setup\NDP\v4\Full键。 Check the REG_DWORD entry named Release and its value is 528372 .检查名为Release的 REG_DWORD 条目,其值为528372 Check the REG_SZ entry named Version and its value is 4.8.04084 .检查名为Version的 REG_SZ 条目,其值为4.8.04084
  2. Open File Explorer then go to C:\Windows\Microsoft.NET\Framework folder.打开文件资源管理器然后 go 到C:\Windows\Microsoft.NET\Framework文件夹。 There I see v4.0.30319 folder.在那里我看到v4.0.30319文件夹。 Go inside it, then open Properties of Accessibility.dll file. Go在里面,然后打开Accessibility.dll文件的Properties。 Go to its Details and the Product version is 4.8.4084.0 . Go 及其详细信息, Product version4.8.4084.0

I have Visual Studio 2019 Community Edition version 16.4.5 installed.我安装了Visual Studio 2019 Community Edition version 16.4.5 I open it then create a new project of Class Library (.NET Framework) type.我打开它然后创建一个Class Library (.NET Framework)类型的新项目。 In the Configure your new project section, under Framework dropdown, I see that the highest entry is .NET Framework 4.7.2 .在“配置新项目”部分的“ Framework ”下拉列表下,我看到最高条目是.NET Framework 4.7.2 How come there is no entry for .NET Framework 4.8?为什么没有 .NET Framework 4.8 的条目? What I need to do to solve this issue?我需要做什么来解决这个问题?

I have .NET Framework 4.8 installed.我安装了 .NET Framework 4.8。

There are 2 different flavors of each .NET Framework version, the runtime and the SDK .每个 .NET Framework 版本有 2 种不同的风格,运行时SDK To reference .NET Framework 4.8 in VS2019, you need to install the .NET Framework 4.8 Developer Pack on the system.要在VS2019中引用.NET Framework 4.8,需要在系统上安装.NET Framework 4.8 Developer Pack Just having the .NET Framework 4.8 runtime is enough to run .NET Framework apps, but not develop them.仅拥有 .NET Framework 4.8 运行时就足以运行.NET Framework 应用程序,但不能开发它们。

You can see a list of all of the .NET Framework Developer Packs here:您可以在此处查看所有 .NET Framework 开发人员包的列表:

https://dotnet.microsoft.com/en-us/download/visual-studio-sdks https://dotnet.microsoft.com/en-us/download/visual-studio-sdks

You can confirm it is installed by going to "Programs and Features" in your control panel and look for "Microsoft .NET Framework 4.8 Targeting Pack".您可以通过转到控制面板中的“程序和功能”并查找“Microsoft .NET Framework 4.8 Targeting Pack”来确认它已安装。

在此处输入图像描述

Alternatively, you can install the targeting pack through the Visual Studio Installer by selecting ".NET Framework targeting pack" under "Individual components".或者,您可以通过 Visual Studio 安装程序安装目标包,方法是选择“单个组件”下的“.NET Framework 目标包”。

在此处输入图像描述

How to install .NET Framework 4.8?如何安装 .NET Framework 4.8? when I try to install manually its installing but .NET Framework application doesn't appears in the Programs and Features menu and registry entry.Same problem happend in silent installation process.当我尝试手动安装时,它的安装但 .NET Framework 应用程序未出现在“程序和功能”菜单和注册表项中。静默安装过程中发生了同样的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Visual Studio 2019 / .NET Framework 4.8 中确定 C# 版本 - Determine C# version in Visual Studio 2019 / .NET Framework 4.8 Visual Studio 2019 - 将 .NET 目标框架更改为 4.8 - Visual Studio 2019 - change .NET target framework to 4.8 Visual Studio 2019 未显示 .NET 5 框架 - Visual Studio 2019 Not Showing .NET 5 Framework Visual Studio mac 2019(社区) - PresentationCore - 未找到 .Net Framework 4 的程序集 - Visual Studio mac 2019 (Community) - PresentationCore - Assembly not found for .Net Framework 4 如何在 Visual Studio 2019 中调试 .NET 5 WinForms 应用程序,该应用程序引用 .NET Framework 4.8 class 库 - Howto debug .NET 5 WinForms application that references .NET Framework 4.8 class library in Visual Studio 2019 使用.Net Framework v4.8和Visual Studio 2019查询TFS 2015源代码存储库DateTime属性 - Querying TFS 2015 Source Code Repository DateTime Properties with .Net Framework v4.8 and Visual Studio 2019 如何将所有解决方案项目 .Net framework 4.5.1 升级到 4.8 Visual Studio 2019 - How to upgrade all solution projects .Net framework 4.5.1 to 4.8 Visual Studio 2019 c# (.NET Framework) 上的 Visual Studio Community 2019 缓慢加载(无需调试即可启动) - Visual Studio Community 2019 slow loading (start without debugging) on c# (.NET Framework) 目标框架未在 Visual Studio 2019 中显示 - target framework not showing in visual studio 2019 如何使用Visual Studio 2019社区创建.NET Core 3控制台应用程序? - How to create a .NET Core 3 console application with Visual Studio 2019 Community?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM