Skip to content

Commit

Permalink
Add dependency conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
meziantou authored Dec 22, 2024
1 parent 8eb5a65 commit a01d246
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

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

Expand Down

0 comments on commit a01d246

Please sign in to comment.