Skip to content

Commit

Permalink
#2181 Remove System.Memory from Dotnet 6 (#2193)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Yokota <rayokota@gmail.com>
  • Loading branch information
thompson-tomo and rayokota authored Jul 29, 2024
1 parent 2c8a97e commit d17bc35
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Confluent.Kafka/Confluent.Kafka.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,24 @@
<PackageReference Include="librdkafka.redist" Version="2.5.0">
<PrivateAssets Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">None</PrivateAssets>
</PackageReference>
<PackageReference Include="System.Memory" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Memory" Version="4.5.0" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
<PackageReference Include="System.Runtime.Extensions" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Memory" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\confluent-logo.png" Pack="true" PackagePath="\" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
</Project>

0 comments on commit d17bc35

Please sign in to comment.