Skip to content

Remove .NET SDK pin from global.json#669

Open
AndyGerlicher wants to merge 1 commit into
mainfrom
dev/angerlic/sdk-update
Open

Remove .NET SDK pin from global.json#669
AndyGerlicher wants to merge 1 commit into
mainfrom
dev/angerlic/sdk-update

Conversation

@AndyGerlicher
Copy link
Copy Markdown
Member

SFI scanners flag the literal SDK version in global.json even though rollForward: latestMinor already lets the build use newer 10.x SDKs. The pipelines (azure-pipelines.yml and azure-pipelines-official.yml) already install 10.x via UseDotNet@2, so dropping the sdk block 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.md so 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.

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>
@AndyGerlicher AndyGerlicher enabled auto-merge (squash) June 1, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants