Skip to content

Pin .NET SDK to 9.0.313 via global.json#671

Merged
AmelBawa-msft merged 2 commits into
mainfrom
copilot/upgrade-dotnet-sdk-9-0-313
May 20, 2026
Merged

Pin .NET SDK to 9.0.313 via global.json#671
AmelBawa-msft merged 2 commits into
mainfrom
copilot/upgrade-dotnet-sdk-9-0-313

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

The repo had no SDK version pin, leaving builds subject to whatever SDK version happened to be installed. This adds a global.json at the repo root to consistently enforce .NET SDK 9.0.313 across local dev and CI.

Changes

  • global.json (new): pins SDK to 9.0.313
{
  "sdk": {
    "version": "9.0.313"
  }
}

Existing target frameworks (net8.0-windows) are unaffected; the .NET 9 SDK builds net8.0 targets without changes.

Original prompt

Upgrade the .NET SDK used by the microsoft/winget-create repository to version 9.0.313.

Please make the necessary code and configuration changes in the repository so that builds and CI use .NET SDK 9.0.313 consistently. Investigate common locations such as global.json, GitHub Actions workflow setup steps, documentation, and any build/test configuration files that pin or reference the SDK version.

Requirements:

  • Update all relevant version pins/references to .NET SDK 9.0.313.
  • Keep the change minimal and focused on the SDK upgrade.
  • Verify whether CI/workflows require any corresponding updates.
  • Create a pull request with a concise summary of the changes made.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Create a PR upgrading .NET SDK to 9.0.313

Assistant: I’m waiting for your response to the confirmation dialog so I can continue creating the PR.

This pull request was created from Copilot chat.

Agent-Logs-Url: https://github.com/microsoft/winget-create/sessions/3f64a033-d432-4fd3-9147-79b94eebc136

Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade .NET SDK to version 9.0.313 Pin .NET SDK to 9.0.313 via global.json May 19, 2026
Copilot AI requested a review from AmelBawa-msft May 19, 2026 17:35
@AmelBawa-msft
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@AmelBawa-msft AmelBawa-msft marked this pull request as ready for review May 20, 2026 19:37
@AmelBawa-msft AmelBawa-msft merged commit deca8ce into main May 20, 2026
8 checks passed
@AmelBawa-msft AmelBawa-msft deleted the copilot/upgrade-dotnet-sdk-9-0-313 branch May 20, 2026 19:37
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.

3 participants