Skip to content

Pin the .NET 11 SDK in global.json alongside mise - #2332

Merged
david-driscoll merged 2 commits into
mainfrom
claude/global-json-sdk-pin
Oct 22, 2026
Merged

david-driscoll merged 2 commits into
mainfrom
claude/global-json-sdk-pin

Conversation

@david-driscoll

Copy link
Copy Markdown
Member

Summary

 global.json
+  "sdk": {
+    "rollForward": "latestFeature",
+    "allowPrerelease": true,
+    "version": "11.0.100-rc.2.26504.105"
+  },
   "test": { "runner": "Microsoft.Testing.Platform" }

 .github/renovate.json  packageRules
+  { "matchDepNames": ["dotnet-sdk"], "groupName": "dotnet sdk" }   # global.json (nuget manager) + mise.toml (customManager) move together

Follow-up to #2330: the SDK is pinned in global.json as well as .config/mise.toml, so a plain dotnet outside mise resolves the .NET 11 SDK. The same change is going into Dovetail, Specular and MSBuildSdk so the shared blocks stay identical.

Evidence

  • Before: with no sdk section, a dotnet outside mise (e.g. Homebrew's SDK 10.0.401) silently built with SDK 10 and couldn't target net11.0.
    After:
    • mise exec -- dotnet --version → 11.0.100-rc.2.26504.105
    • mise's dotnet-root host without mise env → 11.0.100-rc.2.26504.105 (global.json selects it)
    • Homebrew dotnet (SDK 10 only) → fails fast: "A compatible .NET SDK was not found. Requested SDK version: 11.0.100-rc.2.26504.105"
    • renovate-config-validator passes; hk check clean; dotnet build Testing.slnx 0 errors.

Merge Danger

Door: two-way

Blast Radius: tooling

Anyone building outside mise now needs the .NET 11 RC2 SDK (or newer 11.0.1xx) installed; mise users and CI are unaffected.

🤖 Generated with Claude Code

global.json pins 11.0.100-rc.2.26504.105 again so a plain `dotnet` (outside
mise) picks the right SDK at build time, or fails fast instead of building
with an older SDK. mise.toml keeps the same pin plus the 10.0 runtime.

Renovate updates the two pins through different managers (nuget for
global.json, the regex customManager for mise.toml), both as dotnet-sdk;
a packageRule groups them so they always move in one PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added this to the v11.0.0 milestone Oct 22, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@david-driscoll
david-driscoll added this pull request to the merge queue Oct 22, 2026
@github-actions

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit b6d3840. ± Comparison against base commit f4c6b8c.

Merged via the queue into main with commit b0c2331 Oct 22, 2026
8 checks passed
@david-driscoll
david-driscoll deleted the claude/global-json-sdk-pin branch October 22, 2026 02:12
@github-actions github-actions Bot added the ✨ mysterious We forgot to label this label Oct 22, 2026
@github-actions github-actions Bot modified the milestones: v11.0.0, v11.0.1 Oct 22, 2026
@david-driscoll david-driscoll modified the milestones: v11.0.1, v11.0.0 Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ mysterious We forgot to label this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant