Skip to content

Commit

Permalink
Consolifix System.Text.Json dependency to avoid tracking across multi…
Browse files Browse the repository at this point in the history
…ple versions.
  • Loading branch information
to11mtm committed Jul 10, 2024
1 parent 9b8dd83 commit 2141b92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/NATS.Client.Core/NATS.Client.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
<NoWarn>$(NoWarn);CS8604</NoWarn>
</PropertyGroup>

<!-- Dependencies for netstandard+net6 -->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

<!-- Dependencies for netstandard only -->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Text.Json" Version="8.0.4"/>
<PackageReference Include="System.Threading.Channels" Version="8.0.0"/>
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.1"/>
<PackageReference Include="Nullable" Version="1.3.1">
Expand Down
4 changes: 0 additions & 4 deletions src/NATS.Client.JetStream/NATS.Client.JetStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,4 @@
<InternalsVisibleTo Include="NATS.Client.Core.MemoryTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100db7da1f2f89089327b47d26d69666fad20861f24e9acdb13965fb6c64dfee8da589b495df37a75e934ddbacb0752a42c40f3dbc79614eec9bb2a0b6741f9e2ad2876f95e74d54c23eef0063eb4efb1e7d824ee8a695b647c113c92834f04a3a83fb60f435814ddf5c4e5f66a168139c4c1b1a50a3e60c164d180e265b1f000cd"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

</Project>

0 comments on commit 2141b92

Please sign in to comment.