nuke-build / nuke

🏗 The AKEless Build System for C#/.NET
https://nuke.build
MIT License
2.98k stars 359 forks source link

build.ps1 failure if sdk is not present in global.json #178

Closed robsonj closed 5 years ago

robsonj commented 5 years ago

We have a situation where we're using the global.json file for other SDK versions, but not the .Net Core SDK version.

Our global.json file looks like...

{
  "msbuild-sdks": {
    "MSBuild.Sdk.Extras": "1.6.61",
    "Microsoft.Build.CentralPackageVersions": "2.0.1"
  }
}

This causes the build.ps1 script to fail as it is expecting to find the SDK JSON entry in the global.json file when it finds a global.json file.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.