Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 24, 2025

Overview

This PR adds .NET 10.0 target framework support to all project files in the repository and updates the GitHub Actions CI workflow to build and test against .NET 10.0 when the SDK becomes available.

Changes

Project Files

  • PdfJsSharp.csproj: Updated TargetFrameworks from net8.0 to net8.0;net10.0
  • PdfJsSharpTests.csproj: Updated TargetFrameworks from net8.0 to net8.0;net10.0

CI/CD Workflow

  • .github/workflows/dotnet.yml: Updated all three jobs (build, deployRelease, deployTest) to install both .NET 8.0.x and 10.0.x SDKs using multi-line configuration:
    dotnet-version: |
      8.0.x
      10.0.x

Benefits

  • Forward Compatibility: Projects are now configured to target .NET 10.0, enabling seamless transition when the SDK is officially released
  • Continuous Testing: CI pipeline will automatically build and test against .NET 10.0 once available, ensuring compatibility
  • Multi-Targeting: Maintains backward compatibility with .NET 8.0 while preparing for .NET 10.0

Note

.NET 10.0 is not yet released, so builds will currently only succeed for the .NET 8.0 target. Once Microsoft releases .NET 10.0, the CI workflow will automatically begin building and testing for both frameworks without requiring any additional changes.

Original prompt

Update all project files in the repository to add net10.0 to the TargetFrameworks or TargetFramework property, if not already present. Also, update any GitHub Actions workflow files (e.g., .github/workflows/build.yml) to include .NET SDK version 10.0.x in the build matrix or setup-dotnet steps, ensuring CI builds and tests for .NET 10 as well. Make these updates for all mainline projects and the primary CI build workflow.

This pull request was created as a result of the following prompt from Copilot chat.

Update all project files in the repository to add net10.0 to the TargetFrameworks or TargetFramework property, if not already present. Also, update any GitHub Actions workflow files (e.g., .github/workflows/build.yml) to include .NET SDK version 10.0.x in the build matrix or setup-dotnet steps, ensuring CI builds and tests for .NET 10 as well. Make these updates for all mainline projects and the primary CI build workflow.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@github-actions
Copy link
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copilot AI changed the title [WIP] Update project files and workflows for .NET 10 support Add .NET 10.0 support to project files and CI workflow Oct 24, 2025
Copilot AI requested a review from stesee October 24, 2025 11:56
Copilot finished work on behalf of stesee October 24, 2025 11:56
@stesee stesee marked this pull request as ready for review October 29, 2025 01:27
Copilot AI review requested due to automatic review settings October 29, 2025 01:27
@stesee stesee merged commit 14744d1 into main Oct 29, 2025
22 of 24 checks passed
@stesee stesee deleted the copilot/update-targetframework-to-net10 branch October 29, 2025 01:28
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants