Skip to content

Commit

Permalink
Use same System.Text.Json version for all
Browse files Browse the repository at this point in the history
  • Loading branch information
dualtagh committed Jul 26, 2024
1 parent 8b00b9a commit f2ce662
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'net462'">
<SystemTextJsonVersion>6.0.0</SystemTextJsonVersion>
</PropertyGroup>

<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<PropertyGroup>
<SystemTextJsonVersion>8.0.4</SystemTextJsonVersion>
</PropertyGroup>

Expand Down

0 comments on commit f2ce662

Please sign in to comment.