Skip to content

Commit 844b7bd

Browse files
committedApr 22, 2024
weichch#46 Optimise STJ to not be included in net 8 as framework provides it
1 parent e919acf commit 844b7bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/SystemTextJson.JsonDiffPatch/SystemTextJson.JsonDiffPatch.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
<Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net462'" />
1515
</ItemGroup>
1616

17-
<ItemGroup>
17+
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0' or '$(TargetFramework)'== 'net462' or '$(TargetFramework)'== 'net6.0'or '$(TargetFramework)'== 'net7.0'">
1818
<PackageReference Include="System.Text.Json" Version="8.0.0" />
1919
</ItemGroup>
2020

2121
<ItemGroup>
2222
<Compile Remove="JsonBytes.cs" />
2323
<None Include="JsonBytes.cs" />
2424
</ItemGroup>
25-
25+
2626
</Project>

0 commit comments

Comments
 (0)