Remove .NET SDK pin from global.json#669
Open
AndyGerlicher wants to merge 1 commit into
Open
Conversation
SFI scanners flag the literal SDK version string in global.json even though rollForward already lets the build use newer 10.x SDKs. Pipelines already install 10.x via UseDotNet@2, so dropping the sdk block lets CI track the latest 10.x automatically with no string for scanners to flag. Also add a Prerequisites section to CONTRIBUTING.md so local devs know they need 8.x/9.x/10.x SDKs installed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dfederm
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
SFI scanners flag the literal SDK version in
global.jsoneven thoughrollForward: latestMinoralready lets the build use newer 10.x SDKs. The pipelines (azure-pipelines.ymlandazure-pipelines-official.yml) already install10.xviaUseDotNet@2, so dropping thesdkblock lets CI keep tracking the latest 10.x automatically and leaves no version string for scanners to flag.Also adds a Prerequisites section to
CONTRIBUTING.mdso local devs know they need .NET 8/9/10 SDKs installed (mirroring CI).Verified with a full local
dotnet build(0 warnings/0 errors) using auto-selected SDK 10.0.300.