trying to start a .NET console application. Would prefer F# but get the same error in C# or VB as well.
Unable to locate the .NET SDK as specified by global.json, please check that the specified version is installed. I get that warning as soon as I create a new application, and get it as an error when I try to build.
This is using the default Hello World templates that come with Visual Studio. I would expect the prebuilt templates that ship with the app to build first time. Using VS 2019 16.8.5.
I have searched Visual Studio project and the source directory and can't find any global.json.
EDIT: Found the global.json at C:\users\username
{
"sdk": {
"version": "3.1.300",
"rollForward": "latestMinor"
}
}
Which I'm fairly sure I have the SDK installed for but will double check.
