Skip to content

Update SDK versions: .NET 9.0.310, .NET 8.0.417#5356

Merged
mikaelweave merged 7 commits intomainfrom
copilot/update-global-json-sdk
Jan 30, 2026
Merged

Update SDK versions: .NET 9.0.310, .NET 8.0.417#5356
mikaelweave merged 7 commits intomainfrom
copilot/update-global-json-sdk

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Description

Updates .NET SDK versions across the repository to resolve CI/CD build failures and improve .NET 8 compatibility. Also adds automation tooling for future .NET version updates.

AB#182245

Changes:

  • global.json: 9.0.306 → 9.0.310
  • build/docker/Dockerfile: Base image SDK 9.0.306 → 9.0.310
  • build/docker/Dockerfile: Runtime image 9.0.10 → 9.0.12
  • build/dotnet8-compat/global.json: 8.0.415 → 8.0.417
  • .github/prompts/updateDotnetVersion.prompt.md: New prompt file for automated .NET version updates

Docker SDK image must match global.json to prevent dotnet restore failures. The dotnet8-compat SDK update addresses .NET 8 target framework build issues.

The new prompt file enables developers to easily update .NET versions in the future by using GitHub Copilot with the command "update dotnet to latest version". It documents all file locations, provides step-by-step instructions, and includes safety checks to prevent major version changes.

Testing

  • Verified SDK 9.0.310-azurelinux3.0 and 8.0.417 exist in Microsoft Container Registry
  • Verified runtime 9.0.12-azurelinux3.0 exists in Microsoft Container Registry
  • Confirmed all SDK and runtime versions are aligned across configuration files
  • Validated prompt file follows the established format in .github/prompts/

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 65 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
  • Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
  • Tag the PR with Schema Version backward compatible or Schema Version backward incompatible or Schema Version unchanged if this adds or updates Sql script which is/is not backward compatible with the code.
  • When changing or adding behavior, if your code modifies the system design or changes design assumptions, please create and include an ADR.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update global.json to SDK 9.0.310 Update .NET SDK to 9.0.310 Jan 28, 2026
Copilot AI requested a review from mikaelweave January 28, 2026 18:29
@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI changed the title Update .NET SDK to 9.0.310 Revert SDK to 9.0.306 - CI infrastructure constraint Jan 28, 2026
Copilot AI changed the title Revert SDK to 9.0.306 - CI infrastructure constraint Update .NET SDK to 9.0.310 with aligned Docker images Jan 28, 2026
@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI changed the title Update .NET SDK to 9.0.310 with aligned Docker images Update SDK versions: .NET 9.0.310, .NET 8.0.417 Jan 28, 2026
@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave mikaelweave added this to the FY26\Q3\2Wk\2Wk16 milestone Jan 29, 2026
@mikaelweave mikaelweave added Open source This change is only relevant to the OSS code or release. Dependencies Pull requests that update a dependency file No-ADR ADR not needed No-PaaS-breaking-change labels Jan 29, 2026
@mikaelweave mikaelweave marked this pull request as ready for review January 29, 2026 19:42
@mikaelweave mikaelweave requested a review from a team as a code owner January 29, 2026 19:42
@mikaelweave
Copy link
Contributor

@copilot - given the changes needed here to update the dotnet version. Can you add either an agent skill or prompt file to make this easier next time? I want to be able to use one of these and just say "update dotnet to latest version". We should not go between major versions (like dotnet 9->10) in this but a similar change to this PR.

Copy link
Contributor Author

Copilot AI commented Jan 29, 2026

@copilot - given the changes needed here to update the dotnet version. Can you add either an agent skill or prompt file to make this easier next time? I want to be able to use one of these and just sa...

Added .github/prompts/updateDotnetVersion.prompt.md in commit 22286ef.

You can now use this prompt with GitHub Copilot by referencing @workspace /updateDotnetVersion or simply ask "update dotnet to latest version" in the context of this repository.

The prompt file documents all locations that need updating:

  • global.json (main .NET 9 SDK)
  • build/docker/Dockerfile (SDK and runtime images)
  • build/dotnet8-compat/global.json (.NET 8 SDK)

It includes commands to check for latest versions, verify Docker image availability, and validation steps to ensure consistency across all files.

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave mikaelweave merged commit fd3b72e into main Jan 30, 2026
62 of 64 checks passed
@mikaelweave mikaelweave deleted the copilot/update-global-json-sdk branch January 30, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file No-ADR ADR not needed No-PaaS-breaking-change Open source This change is only relevant to the OSS code or release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants