Skip to content

Commit

Permalink
chore: Only include the System.Memory dependency in netstandard builds
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Skeet <[email protected]>
  • Loading branch information
jskeet committed Nov 15, 2023
1 parent ad3a03d commit 95c0b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Memory" Version="4.5.5" Condition="'$(TargetFramework)'=='netstandard2.0' or '$(TargetFramework)'=='netstandard2.1'" />
<!-- Source-only package with nullable reference annotations. -->
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="All" />
</ItemGroup>
Expand Down

0 comments on commit 95c0b4f

Please sign in to comment.