You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Repo Assist] eng: add global.json to pin .NET SDK to 10.0.x (rollForward: latestFeature) #116
Adds a global.json at the repository root to pin the .NET SDK to 10.0.x.
Problem
Without a global.json, any .NET SDK version installed on the machine is used to build the project. This creates two risks:
Version drift between machines — a developer on SDK 10.0.200 and CI on 10.0.102 may see subtly different compiler diagnostics, code generation, or NuGet resolution behaviour.
Accidental forward jumps — once .NET 11 SDKs are installed alongside .NET 10, builds silently switch to .NET 11 without anyone noticing, until something breaks.
✅ Patch updates (10.0.103, 10.0.200) are accepted automatically — no manual global.json bump for routine SDK updates.
✅ Feature bands within .NET 10 (10.0.200, 10.0.300) are accepted.
❌ A jump to .NET 11 requires an explicit version update in global.json — intentional breakage prevention.
This matches the approach recommended by the .NET team for reproducible builds and is standard practice in mature .NET repositories.
Note: This work was originally blocked in issue #106 due to protected-file restrictions. The branch and global.json content were already validated in that run.
gh aw add githubnext/agentics/workflows/repo-assist.md@cbb46ab386962aa371045839fc9998ee4e97ca64
Warning
🛡️ Protected Files
This was originally intended as a pull request, but the patch modifies protected files: global.json.
These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.
Activity
shanselman commentedon Mar 31, 2026
Duplicate of #123. Closing older copy.