Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 31, 2025

Updates the repository to use .NET SDK 10.0.101 and configures CI/publish workflows to install previous .NET versions for multi-targeting support.

Changes

  • global.json: SDK version 9.0.30610.0.101
  • ci.yml: Added Setup .NET step to install SDK 10.0.101 (via global.json) + 9.0.x and 8.0.x
  • publish.yml: Added 9.0.x and 8.0.x to existing Setup .NET step

The workflows now explicitly install .NET 8.x and 9.x to support the library's multi-targeting (net462, net8.0, netstandard2.0) while using SDK 10 for the build toolchain.

Original prompt

Can you update the repository to use .NET SDK 10 (10.0.101)? Also, update the ci.yml workflow to install previous versions of .NET (8 and 9)

Code

  • name: Setup .NET
    uses: actions/setup-dotnet@v5
    with:
    global-json-file: "global.json"
    dotnet-version: |
    9.0.x
    8.0.x

✨ 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 self-assigned this Dec 31, 2025
…NET 8.x and 9.x

Co-authored-by: geraldbarre-workleap <240971877+geraldbarre-workleap@users.noreply.github.com>
Copilot AI changed the title [WIP] Update repository to use .NET SDK 10 and CI for versions 8 and 9 Update to .NET SDK 10.0.101 Dec 31, 2025
@geraldbarre-workleap geraldbarre-workleap marked this pull request as ready for review December 31, 2025 17:55
@geraldbarre-workleap geraldbarre-workleap requested a review from a team as a code owner December 31, 2025 17:55
Copilot AI review requested due to automatic review settings December 31, 2025 17:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository's .NET SDK from version 9.0.306 to 10.0.101 and configures the CI/CD workflows to support multi-targeting by installing previous .NET SDK versions.

Key changes:

  • Updated SDK version in global.json to 10.0.101
  • Enhanced CI and publish workflows to install .NET 8.x and 9.x SDKs alongside the primary SDK 10
  • Ensures compatibility with the library's multi-targeting strategy (net462, net8.0, netstandard2.0)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
global.json Updates SDK version from 9.0.306 to 10.0.101
.github/workflows/ci.yml Adds Setup .NET step with multi-SDK installation (10.0.101 via global.json + 9.0.x + 8.0.x)
.github/workflows/publish.yml Extends existing Setup .NET step to install 9.0.x and 8.0.x SDKs for multi-targeting

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.

2 participants