Reputation: 40499
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. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.
Now, I wonder how or where I can install .NET Core 6.0.
I have found https://dotnet.microsoft.com/download/dotnet but it only has a .NET Core 3.1.
So, I'd appreciate any pointer towards finding .NET Core 6.0.
Upvotes: 2
Views: 12563
Reputation: 360
Beware of the following caveat.
VS 16.11 and lower will no longer load with .NET SDK 6.0
https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/vs-msbuild-version
Upvotes: 4