错误 MSB3644 找不到 .NETFramework 的参考程序集,版本 = v5.0。使用 VS 2019 16.8.3
Error MSB3644 The reference assemblies for .NETFramework,Version=v5.0 were not found. with VS 2019 16.8.3
我安装了最新的framework .net 5.0,也把VS 2019从16.6升级到了最新的16.8.3。完成此过程后,我创建了一个新的网络应用程序,但出现此错误:
Error MSB3644 To resolve this, install the Developer Pack
(SDK/Targeting Pack) for this framework version or retarget your
application. You can download .NET Framework Developer Packs at
https://aka.ms/msbuild/developerpacks WebApplication2 C:\Program Files
(x86)\Microsoft Visual
Studio19\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets
我还修复了 VS 2019 以防万一,它可以解决问题,但也没有用。你能帮帮我吗?
提前致谢。
终于解决了..我把VS 2019卸载了再装回去
Repair/Modify - 对我没有用!
是新版本.NET
更新 VS 可以提供帮助
尽管有最新的 Visual Studio (16.11.2) 和最新的 .NET SDK (5.0.400),我还是遇到了这个问题。
问题是我的 PATH 中有两个不同的 SDK 位置:
- C:\Users{用户名}\AppData\Local\Microsoft\dotnet\sdk
- C:\程序Files\dotnet\sdk
用户特定安装来自 Dotnet-install scripts,不包含 .NET 5 SDK。从我的路径中删除它并重新启动 Visual Studio 解决了问题
我安装了最新的framework .net 5.0,也把VS 2019从16.6升级到了最新的16.8.3。完成此过程后,我创建了一个新的网络应用程序,但出现此错误:
Error MSB3644 To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks WebApplication2 C:\Program Files (x86)\Microsoft Visual Studio19\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets
我还修复了 VS 2019 以防万一,它可以解决问题,但也没有用。你能帮帮我吗?
提前致谢。
终于解决了..我把VS 2019卸载了再装回去
Repair/Modify - 对我没有用!
是新版本.NET 更新 VS 可以提供帮助
尽管有最新的 Visual Studio (16.11.2) 和最新的 .NET SDK (5.0.400),我还是遇到了这个问题。
问题是我的 PATH 中有两个不同的 SDK 位置:
- C:\Users{用户名}\AppData\Local\Microsoft\dotnet\sdk
- C:\程序Files\dotnet\sdk
用户特定安装来自 Dotnet-install scripts,不包含 .NET 5 SDK。从我的路径中删除它并重新启动 Visual Studio 解决了问题