From 7293fed1a7fc5f55406af1426be10abe6f04f4a4 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 9 Jul 2025 15:50:54 +0200 Subject: [PATCH] Update global.json Use the new paths feature and allow newer SDKs when building https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#paths --- global.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/global.json b/global.json index 35c4959162e898..fe10b933bf729e 100644 --- a/global.json +++ b/global.json @@ -2,7 +2,12 @@ "sdk": { "version": "10.0.100-preview.6.25315.102", "allowPrerelease": true, - "rollForward": "major" + "rollForward": "major", + "paths": [ + ".dotnet", + "$host$" + ], + "errorMessage": "The required .NET SDK wasn't found. Please run ./eng/common/dotnet.cmd/sh to install it." }, "tools": { "dotnet": "10.0.100-preview.6.25315.102"