We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.14.1/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and error was: /home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj : error : Version 7.0.400 of the .NET SDK requires at least version 17.4.0 of MSBuild. The current available version of MSBuild is 16.10.1.31701. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
/home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk.WindowsDesktop' specified could not be found.
/tmp/NuGetScratchrunner/u5raelkr.emk.nugetrestore.targets(411,5): warning MSB4181: The "MSBuild" task returned false but did not log an error. [/tmp/NuGetScratchrunner/g5m8heif.4ch.nugetinputs.targets]
/tmp/NuGetScratchrunner/u5raelkr.emk.nugetrestore.targets(423,5): warning : Skipping restore for project '/home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj'. The project file may be invalid or missing targets required for restore. [/tmp/NuGetScratchrunner/g5m8heif.4ch.nugetinputs.targets]
/home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj : error : Version 7.0.400 of the .NET SDK requires at least version 17.4.0 of MSBuild. The current available version of MSBuild is 16.10.1.31701. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
/home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk.WindowsDesktop' specified could not be found.
/tmp/NuGetScratchrunner/0mar7wci.pdv.nugetrestore.targets(411,5): warning MSB4181: The "MSBuild" task returned false but did not log an error. [/tmp/NuGetScratchrunner/nnkz6hve.0tn.nugetinputs.targets]
/tmp/NuGetScratchrunner/0mar7wci.pdv.nugetrestore.targets(423,5): warning : Skipping restore for project '/home/runner/work/Terraria-Map-Editor/Terraria-Map-Editor/src/TEdit/TEdit.csproj'. The project file may be invalid or missing targets required for restore. [/tmp/NuGetScratchrunner/nnkz6hve.0tn.nugetinputs.targets]
Error: Could not auto-detect a suitable build method