diff --git a/build/template-install-dependencies.yaml b/build/template-install-dependencies.yaml index 191df3dd0..378724108 100644 --- a/build/template-install-dependencies.yaml +++ b/build/template-install-dependencies.yaml @@ -26,7 +26,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET SDK 9.0.x' inputs: - version: 9.0.x + useGlobalJson: true # Run Nuget Tool Installer diff --git a/global.json b/global.json new file mode 100644 index 000000000..4b116a059 --- /dev/null +++ b/global.json @@ -0,0 +1,9 @@ +{ + "msbuild-sdks": { + "Microsoft.Build.NoTargets": "3.7.56" + }, + "sdk": { + "version": "9.0.0", + "rollForward": "latestFeature" + } +}