Skip to content

Commit 78cc980

Browse files
committed
Added .net8 target framework. Closes #25
1 parent e9dad69 commit 78cc980

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
<IsPackable>false</IsPackable>
99
<IsPublishable>false</IsPublishable>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="BenchmarkDotNet" Version="0.13.7" />
13+
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
1414
<PackageReference Include="Marvin.JsonPatch" Version="2.2.1" />
15-
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="7.0.10" />
15+
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="8.0.0" />
1616
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1717
</ItemGroup>
1818

SystemTextJsonPatch.Console/SystemTextJsonPatch.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<IsPackable>false</IsPackable>
88
<IsPublishable>false</IsPublishable>

SystemTextJsonPatch.Tests/SystemTextJsonPatch.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0;net6.0;net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<IsPublishable>false</IsPublishable>
77
<IsUnitTestProject>True</IsUnitTestProject>
@@ -15,11 +15,11 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="JUnitTestLogger" Version="1.1.0" />
18-
<PackageReference Include="Microsoft.Net.Test.Sdk" Version="17.7.1" />
19-
<PackageReference Include="xunit" Version="2.5.0" />
18+
<PackageReference Include="Microsoft.Net.Test.Sdk" Version="17.8.0" />
19+
<PackageReference Include="xunit" Version="2.6.1" />
2020
<!-- use latest NewtonSoft package, hides Microsoft.Net.Test.Sdk -> Microsoft.TestPlatform.TestHost refs NewtonSoft.Json >= 9.0 -->
2121
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
22-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
22+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>

SystemTextJsonPatch/SystemTextJsonPatch.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>SystemTextJson is JSON Patch (JsonPatchDocument) RFC 6902 implementation for .NET using System.Text.Json</Description>
5-
<TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks>
5+
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
66
<NoWarn>$(NoWarn);CS1591</NoWarn>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageTags>aspnetcore;json;jsonpatch;system.text.json;rfc6902;</PackageTags>
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup Condition="'$(targetframework)' == 'netstandard2.0'">
39-
<PackageReference Include="System.Text.Json" Version="7.*" />
39+
<PackageReference Include="System.Text.Json" Version="8.0.0" />
4040
</ItemGroup>
4141

4242
<ItemGroup>

0 commit comments

Comments
 (0)