diff --git a/global.json b/global.json index 4b3d71ef4a0..6f7f67486ef 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,8 @@ { "sdk": { - "allowPrerelease": true + "allowPrerelease": true, + "paths": [ ".dotnet", "$host$" ], + "errorMessage": "The .NET SDK could not be found, please run a command-line build with ./build.cmd." }, "tools": { "dotnet": "9.0.106",