From 2f1f30c0fbcddc109324407a9a245fb9327afdda Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Thu, 10 Jul 2025 09:55:40 -0500 Subject: [PATCH] Update global.json to allow hosts to transparently use repo-local global.json --- global.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/global.json b/global.json index 00c731833b0a..38792373f6f4 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,11 @@ { "sdk": { - "version": "10.0.100-preview.6.25315.102" + "version": "10.0.100-preview.6.25315.102", + "paths": [ + ".dotnet", + "$host$" + ], + "errorMessage": "The .NET SDK is not installed or is not configured correctly. Please run ./build to install the correct SDK version locally." }, "tools": { "dotnet": "10.0.100-preview.6.25315.102",