简体   繁体   English

VS19 .NET Target Frameworks 锁定在 2.0、3.0 和 3.5

[英]VS19 .NET Target Frameworks is locked on 2.0, 3.0, & 3.5

I can not create a class library (or anything) above the .NET Framework versions of 2.0, 3.0, and 3.5 for some odd reason.由于某些奇怪的原因,我无法在 .NET Framework 2.0、3.0 和 3.5 版本之上创建类库(或任何东西)。 I've tried a fresh install (also running InstallCleanup.exe and cleanup up the cache's), reinstalling my workloads, packages, and SDK's, installing the target frameworks from the website and the VS19 Installer.我尝试了全新安装(也运行 InstallCleanup.exe 并清理缓存),重新安装我的工作负载、包和 SDK,从网站和 VS19 安装程序安装目标框架。 Nothing seems to work at all!似乎什么都不起作用!

Thank you in advance.先感谢您。

Available frameworks:可用框架:框架被锁定

Installed frameworks:安装的框架:
已安装的框架

I'm not sure if you have installed the .NET Framework correctly.我不确定您是否正确安装了 .NET Framework。 We have to install the SDK file, but not just the targeting pack.我们必须安装 SDK 文件,而不仅仅是目标包。 This page shows you how to determine which .NET Framework version is installed.此页面向您展示如何确定安装的 .NET Framework 版本。 https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

If you didn't install the .NET Framework correctly, you can install the version you want manually.如果您没有正确安装 .NET Framework,您可以手动安装您想要的版本。 https://dotnet.microsoft.com/download/dotnet-framework https://dotnet.microsoft.com/download/dotnet-framework

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM