Skip to content

Commit ab9e263

Browse files
authored
Don't reference System.ValueTuple on netstandard2.0 (#63240)
It's not needed there and will raise a NuGet package pruning warning
1 parent e656076 commit ab9e263

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Logging.AzureAppServices/src/Microsoft.Extensions.Logging.AzureAppServices.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Reference Include="Microsoft.Extensions.Logging.Abstractions" />
1919
<Reference Include="Microsoft.Extensions.Logging.Configuration" />
2020
<Reference Include="Microsoft.Extensions.Logging" />
21-
<Reference Include="System.ValueTuple" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
21+
<Reference Include="System.ValueTuple" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
2222
</ItemGroup>
2323

2424
<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetFxTargetFramework)' OR '$(MSBuildRestoreSessionId)' == ''">

src/Testing/src/Microsoft.AspNetCore.InternalTesting.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<Reference Include="Microsoft.Extensions.Logging" />
2929
<Reference Include="Serilog.Extensions.Logging" />
3030
<Reference Include="Serilog.Sinks.File" />
31-
<Reference Include="System.ValueTuple" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
31+
<Reference Include="System.ValueTuple" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
3232

3333
<!--
3434
This intentionally does not reference 'xunit', 'xunit.core', or any runner packages.

0 commit comments

Comments
 (0)