Skip to content

Commit 0535b03

Browse files
authored
Remove unnecessary dependency in M.Bcl.TimeProvider (#85639)
see https://github.com/dotnet/runtime/pull/84235/files#r1182370236
1 parent 4cb00ea commit 0535b03

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/libraries/Microsoft.Bcl.TimeProvider/src/Microsoft.Bcl.TimeProvider.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<TargetFrameworks>$(NetCoreAppCurrent);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
45
<IsPackable>true</IsPackable>
56
<!-- Disabling baseline validation since this is a brand new package.
6-
Once this package has shipped a stable version, the following line
7-
should be removed in order to re-enable validation. -->
7+
Once this package has shipped a stable version, the following line
8+
should be removed in order to re-enable validation. -->
89
<DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
9-
<!--<UseIntellisensePackageDocXmlFile>false</UseIntellisensePackageDocXmlFile>-->
1010
<PackageDescription>Provides support for system time abstraction primitives for .NET Framework and .NET Standard.
1111

1212
Commonly Used Types:
1313
System.TimeProvider
14-
System.ITimer
15-
16-
</PackageDescription>
14+
System.ITimer</PackageDescription>
1715
</PropertyGroup>
1816

1917
<PropertyGroup>
@@ -32,6 +30,9 @@ System.ITimer
3230

3331
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true'">
3432
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="$(MicrosoftBclAsyncInterfacesVersion)" />
33+
</ItemGroup>
34+
35+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
3536
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
3637
</ItemGroup>
3738

0 commit comments

Comments
 (0)