Skip to content

Commit 0cd2799

Browse files
authored
Merge pull request #11 from dozer75/feature/update-net10
Add .NET 10 support
2 parents 12b56a2 + 78f6f40 commit 0cd2799

3 files changed

Lines changed: 22 additions & 15 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ dotnet_diagnostic.ca1819.severity = none
155155
# CA1848: Use the LoggerMessage delegates
156156
dotnet_diagnostic.CA1848.severity = silent
157157

158+
# CA1873: Avoid potentially expensive logging
159+
dotnet_diagnostic.CA1873.severity = silent
160+
158161
# CA2007: Consider calling ConfigureAwait on the awaited task
159162
dotnet_diagnostic.CA2007.severity = none
160163

src/HttpClientAuthentication/HttpClientAuthentication.csproj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
3+
<TargetFrameworks>net10.0;net9.0;net8.0</TargetFrameworks>
44
<AssemblyName>KISS.HttpClientAuthentication</AssemblyName>
55
<RootNamespace>KISS.HttpClientAuthentication</RootNamespace>
66

@@ -9,7 +9,7 @@
99
<ImplicitUsings>enable</ImplicitUsings>
1010

1111
<!-- Ensure bump this when working on new version-->
12-
<VersionPrefix>3.0.0</VersionPrefix>
12+
<VersionPrefix>3.1.0</VersionPrefix>
1313
<Authors>Rune Gulbrandsen</Authors>
1414
<Copyright>Copyright (c) 2025 Rune Gulbrandsen. All rights reserved.</Copyright>
1515
<Summary>
@@ -24,18 +24,22 @@
2424
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2525
</PropertyGroup>
2626

27-
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
28-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
29-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
30-
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
31-
<PackageReference Include="System.Text.Json" Version="9.0.0" />
27+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
28+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="10.0.0" />
29+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.0" />
30+
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" />
31+
</ItemGroup>
32+
33+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
34+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="[9.0.11,10.0.0]" />
35+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="[9.0.11,10.0.0]" />
36+
<PackageReference Include="Microsoft.Extensions.Http" Version="[9.0.11,10.0.0]" />
3237
</ItemGroup>
3338

3439
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
3540
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="[8.0.1,9.0.0)" />
3641
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="[8.0.2,9.0.0)" />
3742
<PackageReference Include="Microsoft.Extensions.Http" Version="[8.0.1,9.0.0)" />
38-
<PackageReference Include="System.Text.Json" Version="[8.0.5,9.0.0)" />
3943
</ItemGroup>
4044

4145
<ItemGroup>

test/HttpClientAuthentication.Test/HttpClientAuthentication.Test.csproj

Lines changed: 7 additions & 7 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
<AssemblyName>KISS.HttpClientAuthentication.Test</AssemblyName>
66
<RootNamespace>KISS.HttpClientAuthentication.Test</RootNamespace>
77

@@ -14,21 +14,21 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="coverlet.collector" Version="6.0.3">
17+
<PackageReference Include="coverlet.collector" Version="6.0.4">
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
<PrivateAssets>all</PrivateAssets>
2020
</PackageReference>
21-
<PackageReference Include="coverlet.msbuild" Version="6.0.3">
21+
<PackageReference Include="coverlet.msbuild" Version="6.0.4">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>
25-
<PackageReference Include="FluentAssertions" Version="7.0.0" />
25+
<PackageReference Include="FluentAssertions" Version="8.8.0" />
2626
<PackageReference Include="KISS.Moq.Logger" Version="1.0.0" />
27-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
28-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
27+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.0" />
28+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2929
<PackageReference Include="Moq" Version="4.20.72" />
3030
<PackageReference Include="xunit" Version="2.9.3" />
31-
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1">
31+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3333
<PrivateAssets>all</PrivateAssets>
3434
</PackageReference>

0 commit comments

Comments
 (0)