Skip to content

build(v2.1): pin SDK global.json to the full preview.7 build (fixes CI download) - #357

Merged
MPCoreDeveloper merged 1 commit into
release/v2.1.0.0from
fix/v21-sdk-pin
Sep 2, 2026
Merged

build(v2.1): pin SDK global.json to the full preview.7 build (fixes CI download)#357
MPCoreDeveloper merged 1 commit into
release/v2.1.0.0from
fix/v21-sdk-pin

Conversation

@MPCoreDeveloper

Copy link
Copy Markdown
Owner

Summary

Fixes the v2.1 CI submit-nuget failure: GitHub Actions setup-dotnet (via the global.json-based install) could not resolve 11.0.100-preview.7 because the SDK artifact is hosted under the full build number (builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100-preview.7.26381.103/...). The short version is no longer mapped by dotnet-install, so the download 404'd.

Change

Pin both global.json files (./ and src/SharpCoreDB/) to the exact, downloadable build 11.0.100-preview.7.26381.103 (currently the latest .NET 11 SDK per the official 11.0 channel metadata; the artifact URL was verified HTTP 200).

rollForward: latestFeature + allowPrerelease: true are kept, so once a newer .NET 11 preview/RC or GA ships it will be picked up automatically.

….103 build

setup-dotnet/dotnet-install fails to resolve the short '11.0.100-preview.7' because the SDK artifact is only hosted under the full build number (builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100-preview.7.26381.103). Pinning the exact build (HTTP 200 verified) lets CI install it.
@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@MPCoreDeveloper
MPCoreDeveloper merged commit e930a19 into release/v2.1.0.0 Sep 2, 2026
2 checks passed
@MPCoreDeveloper
MPCoreDeveloper deleted the fix/v21-sdk-pin branch September 2, 2026 19:01
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.

1 participant