Skip to content

[Repo Assist] eng: add global.json to pin .NET SDK to 10.0.x #129

Closed as not planned

Description

@github-actions

🤖 This is an automated pull request from Repo Assist.

Summary

Adds a global.json file at the repository root to pin the .NET SDK to version 10.0.x.

Motivation

Without a global.json, the project will build with whatever .NET SDK is installed — including future major versions (e.g., 11.0, 12.0) that may introduce breaking changes in the SDK tooling, build system, or defaults. Pinning ensures:

  • Reproducible builds — every developer and CI run uses the same SDK major version.
  • Controlled upgrades — SDK major version bumps require an explicit, reviewed change to global.json rather than silently happening on the next CI run.

Change

{
  "sdk": {
    "version": "10.0.100",
    "rollForward": "latestMinor"
  }
}
  • version: minimum SDK 10.0.100 (the first GA .NET 10 SDK)
  • rollForward: latestMinor: automatically picks up patch and minor updates within 10.0.x (security fixes, bug fixes) without requiring a manual global.json update

Test Status

  • ✅ dotnet build WindowsEdgeLight/WindowsEdgeLight.csproj -p:EnableWindowsTargeting=true — 0 errors, 0 warnings
  • ✅ No functional code changes — purely build/tooling infrastructure

Warning

Protected Files

This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.

Click here to create the pull request once you have reviewed the changes

Protected files
  • global.json

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Note

🔒 Integrity filter blocked 1 item

The following item were blocked because they don't meet the GitHub integrity level.

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Repo Assist · ● 3.8M · ◷

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@cbb46ab386962aa371045839fc9998ee4e97ca64

Activity

  1. shanselman commented on Aug 8, 2026

    @shanselman
    Owner

    The project and CI already target .NET 10; an exact SDK pin adds contributor friction without enough benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions