Registry Mirror
Skip to content
Merged
Changes from all commits
Commits
File filter
Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"rollForward": "latestFeature",
"version": "10.0.300",
"version": "10.0.301",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin an SDK version that exists

In the checked publish workflow, every build/test job runs actions/setup-dotnet with global-json-file: global.json, so this line is used before any repo command executes. The current official .NET 10 release metadata/download page lists SDK 10.0.300 as the latest available SDK, not 10.0.301; and the documented latestFeature policy only accepts installed versions whose feature band and patch are greater than or equal to the requested value. Until a 10.0.301 or later 10.0 SDK is actually published/available to the action, CI runners that only have/install the released SDK fail at SDK selection/setup instead of building the repo.

Useful? React with πŸ‘Β / πŸ‘Ž.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep shipped SDK metadata in sync

This bumps only the repo toolchain pin, but src/Build/Common/Version.props still defines DotNetSdkVersion as 10.0.300; that value is shipped in the SDK packages, drives NetAnalyzersVersion, and is stamped into the dotnet new templates' scaffolded global.json. As a result, publishing this change would build the repo with 10.0.301 while newly generated consumer repos and injected analyzer package pins remain on 10.0.300, and the existing template tests would still pass because they compare against the stale Version.props value rather than this file.

Useful? React with πŸ‘Β / πŸ‘Ž.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep packaged .NET SDK pin in sync

When this repo is packed after this change, CI will install/use 10.0.301 from this global.json, but the SDK's shipped source of truth still has <DotNetSdkVersion>10.0.300</DotNetSdkVersion> in src/Build/Common/Version.props. The template package stamps scaffolded projects' global.json from that property, so a release built with 10.0.301 would still generate new repos pinned to 10.0.300 and keep SDK-shipped analyzer pins based on the old value. Please update the Version.props pin in the same change so the build-time and packaged consumer defaults do not diverge.

Useful? React with πŸ‘Β / πŸ‘Ž.

"allowPrerelease": true
},
"msbuild-sdks": {
Expand Down
Loading