From 3b2d60db485c6f46e3f1243deced367e09d5bc3a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 11:49:48 +0000 Subject: [PATCH 1/2] Initial plan From 05959ce0bb953bbcabaa09aac0cd821e8355bd7b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 11:54:34 +0000 Subject: [PATCH 2/2] Add .NET 10.0 support to project files and CI workflow Co-authored-by: stesee <168659+stesee@users.noreply.github.com> --- .github/workflows/dotnet.yml | 12 +++++++++--- PdfJsSharp/PdfJsSharp.csproj | 2 +- PdfJsSharpTests/PdfJsSharpTests.csproj | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5208cd8..31fe5e2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.0.x + 10.0.x - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} @@ -39,7 +41,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.0.x + 10.0.x - name: Restore dependencies run: dotnet restore - name: Build @@ -67,7 +71,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.0.x + 10.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/PdfJsSharp/PdfJsSharp.csproj b/PdfJsSharp/PdfJsSharp.csproj index 72693e6..a749f76 100644 --- a/PdfJsSharp/PdfJsSharp.csproj +++ b/PdfJsSharp/PdfJsSharp.csproj @@ -1,6 +1,6 @@ - net8.0 + net8.0;net10.0 true true https://github.com/Codeuctivity/PdfjsSharp diff --git a/PdfJsSharpTests/PdfJsSharpTests.csproj b/PdfJsSharpTests/PdfJsSharpTests.csproj index 7ae0966..8f6c317 100644 --- a/PdfJsSharpTests/PdfJsSharpTests.csproj +++ b/PdfJsSharpTests/PdfJsSharpTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net10.0 false true AllEnabledByDefault