Skip to content

Commit 83402ea

Browse files
tibeljonsequitur
authored andcommitted
remove System.Memory dependency from .NET 6.0
1 parent d86f87a commit 83402ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.CommandLine/System.CommandLine.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<Compile Include="..\System.Diagnostics.CodeAnalysis.cs" Link="System.Diagnostics.CodeAnalysis\System.Diagnostics.CodeAnalysis.cs" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<PackageReference Include="system.memory" Version="4.5.4" />
31+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
32+
<PackageReference Include="System.Memory" Version="4.5.4" />
3333
</ItemGroup>
3434

3535
<ItemGroup>

0 commit comments

Comments
 (0)