[英]How do I install a .NET SDK that supports .NET Core 6.0?
I am trying to compile a Visual Studio project ( .sln
) and get the error message Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 6.0.我正在尝试编译 Visual Studio 项目 (
.sln
) 并收到错误消息Error NETSDK1045 The current .NET SDK does not support target .NET Core 6.0。 Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.以 .NET Core 5.0 或更低版本为目标,或者使用支持 .NET Core 6.0 的 .NET SDK 版本。
Now, I wonder how or where I can install .NET Core 6.0.现在,我想知道如何或在何处安装 .NET Core 6.0。
I have found https://dotnet.microsoft.com/download/dotnet but it only has a .NET Core 3.1.我找到了https://dotnet.microsoft.com/download/dotnet但它只有一个 .NET Core 3.1。
So, I'd appreciate any pointer towards finding .NET Core 6.0.因此,我将不胜感激找到 .NET Core 6.0 的任何指针。
Beware of the following caveat.请注意以下警告。
VS 16.11 and lower will no longer load with .NET SDK 6.0 VS 16.11 及更低版本将不再与 .NET SDK 6.0 一起加载
https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/vs-msbuild-version https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/vs-msbuild-version
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.