显示错误找不到 .NETFramework,Version=v4.0 的引用程序集

Jian Jiang 6 Reputation points
2022-01-05T16:32:58.747+00:00

错误 找不到 .NETFramework,Version=v4.0 的引用程序集。要解决此问题,请为此框架版本安装开发人员工具包(SDK/目标包)或者重新定向应用程序。可在 https://aka.ms/msbuild/developerpacks 处下载 .NET Framework 开发人员工具包 函数返回值 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1217
162529-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2022-01-06-002848.jpg

但是我无法安装 .NETFramework,Version=v4.0 ,安装时显示已经安装或者安装了更高版本

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
748 questions
0 comments No comments
{count} votes