If you are a Visual Studio user, there are MSBuild version requirements so use only the .NET Core SDK supported for each Visual Studio version.
By that means, If you are using Visual Studio 2017, you only able to use .NET Core 2.2.106 SDK
VS Version | .NET Core SDK |
---|---|
Visual Studio 2017 and Visual Studio for Mac | 2.2.106 |
Visual Studio 2019 (Windows) | 2.2.203 |
See the version table here:
https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.4/2.2.4.md#downloads