Skip to content

Commit 340a6c4

Browse files
committed
Adds support for .NET 10.
1 parent 3cfc474 commit 340a6c4

7 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
- uses: actions/setup-dotnet@v5
2424
with:
2525
dotnet-version: |
26+
10.0.x
2627
9.0.x
2728
8.0.x
2829
7.0.x
2930
6.0.x
3031
3132
- name: Force globaljson
32-
run: dotnet new globaljson --sdk-version "9.0.305" --force
33+
run: dotnet new globaljson --sdk-version "10.0.100" --force
3334

3435
- name: Cache ~/.nuget/packages
3536
uses: actions/cache@v4
@@ -53,6 +54,9 @@ jobs:
5354
- name: Pack DataAnnotationValuesExtractor
5455
run: dotnet pack ./Source/Library/Pekspro.DataAnnotationValuesExtractor/Pekspro.DataAnnotationValuesExtractor.csproj --verbosity normal --configuration Release --include-symbols /p:ContinuousIntegrationBuild=true
5556

57+
- name: Run sample in .NET 10
58+
run: dotnet run --project ./Source/Samples/DataAnnotationValuesExtractorSample/DataAnnotationValuesExtractorSample.csproj --framework net10.0 --configuration Release
59+
5660
- name: Run sample in .NET 9
5761
run: dotnet run --project ./Source/Samples/DataAnnotationValuesExtractorSample/DataAnnotationValuesExtractorSample.csproj --framework net9.0 --configuration Release
5862

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v5
2121
with:
22-
dotnet-version: 9.0.x
22+
dotnet-version: 10.0.x
2323

2424
- name: Restore dependencies
2525
run: dotnet restore ./Source/

Source/Samples/DataAnnotationValuesExtractorSample/DataAnnotationValuesExtractorSample.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
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48;$(TargetFrameworks)</TargetFrameworks>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

Source/Tests/Pekspro.DataAnnotationValuesExtractor.IntegrationTests/Pekspro.DataAnnotationValuesExtractor.IntegrationTests.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>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48;$(TargetFrameworks)</TargetFrameworks>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

Source/Tests/Pekspro.DataAnnotationValuesExtractor.NetStandard.IntegrationTests/Pekspro.DataAnnotationValuesExtractor.NetStandard.IntegrationTests.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>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48;$(TargetFrameworks)</TargetFrameworks>
66
<IsPackable>false</IsPackable>
77
<Nullable>enable</Nullable>

Source/Tests/Pekspro.DataAnnotationValuesExtractor.Nuget.IntegrationTests/Pekspro.DataAnnotationValuesExtractor.Nuget.IntegrationTests.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>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48;$(TargetFrameworks)</TargetFrameworks>
66
<IsPackable>false</IsPackable>
77
<Nullable>enable</Nullable>

Source/Tests/Pekspro.DataAnnotationValuesExtractor.Tests/Pekspro.DataAnnotationValuesExtractor.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<!--<TargetFramework>net9.0</TargetFramework>-->
55

6-
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
6+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
77
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48;$(TargetFrameworks)</TargetFrameworks>
88
<Nullable>enable</Nullable>
99
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)