Skip to content

Commit 6e67f83

Browse files
authored
Avoid unnecessary deps in M.E.Logging.Abstractions (#59162)
Fixes #59161 The System.Buffers and System.Memory packages are dependencies of the net6.0 M.E.Logging.Abstractions library even though these libraries are part of the .NETCoreApp shared framework. It's undesirable to have the dependencies in the graph as these aren't built live anymore and are only serviced on demand.
1 parent cbe463b commit 6e67f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Microsoft.Extensions.Logging.Abstractions.NullLogger</PackageDescription>
3030
Link="Common\System\Text\ValueStringBuilder.cs" />
3131
</ItemGroup>
3232

33-
<ItemGroup>
33+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
3434
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
3535
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
3636
</ItemGroup>

0 commit comments

Comments
 (0)