Skip to content

Commit d0f4284

Browse files
Update target frameworks to net8.0 and net48
1 parent 500953d commit d0f4284

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

HttpClient.Caching/HttpClient.Caching.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
<VersionPrefix>1.0.0</VersionPrefix>
77
<Version>1.0.0</Version>
88
<Authors>Thomas Galliker</Authors>
9-
<TargetFrameworks>net462;netstandard1.2;netstandard2.0;netstandard2.1</TargetFrameworks>
9+
<TargetFrameworks>net48;netstandard1.2;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
1010
<AssemblyName>HttpClient.Caching</AssemblyName>
1111
<PackageId>HttpClient.Caching</PackageId>
1212
<PackageTags>httpclient.caching;httpclient;caching;cache;inmemory</PackageTags>
1313
<PackageIconUrl>https://raw.githubusercontent.com/thomasgalliker/HttpClient.Caching/develop/logo.png</PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/thomasgalliker/HttpClient.Caching</PackageProjectUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<RepositoryUrl>https://github.com/thomasgalliker/HttpClient.Caching</RepositoryUrl>
17-
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
1817
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.2' ">$(PackageTargetFallback);netcoreapp1.0</PackageTargetFallback>
1918
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.2' ">1.6.1</NetStandardImplicitPackageVersion>
2019
<SignAssembly>True</SignAssembly>
@@ -40,7 +39,7 @@
4039
<PackageReference Include="Newtonsoft.Json" Version="[11.0.2,)" />
4140
</ItemGroup>
4241

43-
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
42+
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
4443
<Reference Include="System.Net.Http" />
4544
</ItemGroup>
4645

Tests/HttpClient.Caching.Tests/HttpClient.Caching.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net462;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net48;net8.0</TargetFrameworks>
55
<AssemblyName>HttpClient.Caching.Tests</AssemblyName>
66
<PackageId>HttpClient.Caching.Tests</PackageId>
7-
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
87
<IncludeBuildOutput>false</IncludeBuildOutput>
98
<RootNamespace>HttpClient.Caching.Tests</RootNamespace>
109
<NeutralLanguage>en</NeutralLanguage>
1110
</PropertyGroup>
1211

1312
<ItemGroup>
14-
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
13+
<PackageReference Include="coverlet.msbuild" Version="6.0.1">
1514
<PrivateAssets>all</PrivateAssets>
1615
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1716
</PackageReference>
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
19-
<PackageReference Include="ncrontab" Version="3.3.1" />
20-
<PackageReference Include="ObjectDumper.NET" Version="3.3.20" />
21-
<PackageReference Include="xunit" Version="2.4.1" />
22-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
18+
<PackageReference Include="ObjectDumper.NET" Version="4.1.15" />
19+
<PackageReference Include="xunit" Version="2.7.0" />
20+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
2321
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2422
<PrivateAssets>all</PrivateAssets>
2523
</PackageReference>
26-
<PackageReference Include="Moq.AutoMock" Version="3.3.0" />
27-
<PackageReference Include="FluentAssertions" Version="6.6.0" />
24+
<PackageReference Include="Moq.AutoMock" Version="3.5.0" />
25+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
2826
</ItemGroup>
2927

30-
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
28+
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
3129
<Reference Include="System.Net.Http" />
3230
</ItemGroup>
3331

0 commit comments

Comments
 (0)