Backport PR #3927: Centralize SDK version in global.json #3955
+4
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Backports PR #3927 from release/6.1 to release/6.0. Centralizes .NET SDK version management in
global.jsonacross all Azure DevOps pipelines.Core Changes:
global.json: Updated from 9.0.308 to 9.0.309, added SDK requirement documentation, changed rollForward from "latestFeature" to "latestMinor"install-dotnet.ymltemplate withuseGlobalJson: truereplaces hardcoded SDK versionsinstall-dotnet-arm64.ps1Pipeline Templates (13 files):
All CI/CD jobs now reference global.json instead of inline versions:
ci-build-nugets-job.yml,ci-code-coverage-job.yml,ci-run-tests-job.ymlci-prebuild-step.yml,ci-project-build-step.yml,pre-build-step.yml,build-all-configurations-signed-dlls-step.yml,prepare-test-db-step.ymldotnet-sqlclient-ci-core.ymlstress-tests-ci-job.yml,stress-tests-ci-stage.ymlAdditional:
.github/workflows/codeql.yml: Usesglobal-json-fileparameterBUILDGUIDE.md: Added SDK requirements section.editorconfig: Shell script formatting rulesImpact: Single source of truth for SDK versions, simplified pipeline maintenance, consistent rollForward behavior.
Issues
Backport of #3927.
Testing
Pipeline changes will be validated by CI runs. No functional code changes—only build infrastructure.
Guidelines
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.