Our servers have already .NET Core 3.1 SDK . The project also has the setting that you shown above. But the command dotnet build fails!
We have nuget package manager which fails with the following error message. This build failure happened after .NET 2.0 SDK was uninstalled. So, we assume the corresponding dotnet SDK is unavailable.
Is it possible that the issue is with the nuget package manager?