Skip to content

Commit 14744d1

Browse files
authored
Merge pull request #95 from Codeuctivity/copilot/update-targetframework-to-net10
Add .NET 10.0 support to project files and CI workflow
2 parents a16a55f + 05959ce commit 14744d1

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v5
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: |
23+
8.0.x
24+
10.0.x
2325
- uses: actions/setup-node@v6
2426
with:
2527
node-version: ${{ matrix.node }}
@@ -39,7 +41,9 @@ jobs:
3941
- name: Setup .NET
4042
uses: actions/setup-dotnet@v5
4143
with:
42-
dotnet-version: 8.0.x
44+
dotnet-version: |
45+
8.0.x
46+
10.0.x
4347
- name: Restore dependencies
4448
run: dotnet restore
4549
- name: Build
@@ -67,7 +71,9 @@ jobs:
6771
- name: Setup .NET
6872
uses: actions/setup-dotnet@v5
6973
with:
70-
dotnet-version: 8.0.x
74+
dotnet-version: |
75+
8.0.x
76+
10.0.x
7177
- name: Restore dependencies
7278
run: dotnet restore
7379
- name: Build

PdfJsSharp/PdfJsSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<RepositoryUrl>https://github.com/Codeuctivity/PdfjsSharp</RepositoryUrl>

PdfJsSharpTests/PdfJsSharpTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<EnableNETAnalyzers>true</EnableNETAnalyzers>
77
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

0 commit comments

Comments
 (0)