Skip to content

Commit 9b3e3f5

Browse files
authored
Add net10.0 target explicitly (#17)
* Add `net10.0` target * Update dependencies
1 parent fa03d17 commit 9b3e3f5

File tree

6 files changed

+31
-24
lines changed

6 files changed

+31
-24
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
dotnet-version: |
2727
8.0.x
2828
9.0.x
29+
10.0.x
2930
3031
- name: Install dependencies
3132
run: dotnet restore

.github/workflows/pack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
dotnet-version: |
3636
8.0.x
3737
9.0.x
38+
10.0.x
3839
3940
- name: Install dependencies
4041
run: dotnet restore

sample/SecretApi/SecretApi.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.2" />
11-
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.1.2" />
12-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
13-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.6" />
14-
<PackageReference Include="OpenTelemetry" Version="1.12.0" />
15-
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.12.0" />
16-
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0" />
17-
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0" />
18-
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" />
10+
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.3.11" />
11+
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.4" />
12+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.11" />
13+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.11" />
14+
<PackageReference Include="OpenTelemetry" Version="1.13.1" />
15+
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.13.1" />
16+
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.13.1" />
17+
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.13.1" />
18+
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.13.0" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

src/W4k.Extensions.Configuration.Aws.SecretsManager/W4k.Extensions.Configuration.Aws.SecretsManager.csproj

Lines changed: 7 additions & 2 deletions
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;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<EnablePackageValidation>true</EnablePackageValidation>
66
<PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion>
77
<ImplicitUsings>enable</ImplicitUsings>
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<PropertyGroup>
14-
<VersionPrefix>2.2.0</VersionPrefix>
14+
<VersionPrefix>2.3.0</VersionPrefix>
1515
<Authors>Zdenek Havlin</Authors>
1616
<Description>AWS Secrets Manager configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
1717
<PackageId>W4k.Extensions.Configuration.Aws.SecretsManager</PackageId>
@@ -55,6 +55,11 @@
5555
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="[9.0.0,)" />
5656
</ItemGroup>
5757

58+
<ItemGroup Condition="'$(TargetFramework)'=='net10.0'">
59+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="[10.0.0,)"/>
60+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="[10.0.0,)" />
61+
</ItemGroup>
62+
5863
<ItemGroup>
5964
<PackageReference Include="AWSSDK.SecretsManager" Version="[4.0.0,5.0.0)"/>
6065
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">

tests/W4k.Extensions.Configuration.Aws.SecretsManager.IntegrationTests/W4k.Extensions.Configuration.Aws.SecretsManager.IntegrationTests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>
88
<IsTestProject>true</IsTestProject>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.1.2" />
12+
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.4" />
1313
<PackageReference Include="coverlet.collector" Version="6.0.4">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="9.6.0" />
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
19-
<PackageReference Include="NUnit" Version="4.3.2" />
20-
<PackageReference Include="NUnit.Analyzers" Version="4.9.2">
17+
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.0.0" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
19+
<PackageReference Include="NUnit" Version="4.4.0" />
20+
<PackageReference Include="NUnit.Analyzers" Version="4.11.2">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
24+
<PackageReference Include="NUnit3TestAdapter" Version="5.2.0" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

tests/W4k.Extensions.Configuration.Aws.SecretsManager.Tests/W4k.Extensions.Configuration.Aws.SecretsManager.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>
@@ -10,12 +10,12 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="9.6.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
13+
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.0.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1515
<PackageReference Include="NSubstitute" Version="5.3.0" />
16-
<PackageReference Include="NUnit" Version="4.3.2" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
18-
<PackageReference Include="NUnit.Analyzers" Version="4.9.2">
16+
<PackageReference Include="NUnit" Version="4.4.0" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.2.0" />
18+
<PackageReference Include="NUnit.Analyzers" Version="4.11.2">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>

0 commit comments

Comments
 (0)