Fix build warnings for System.Threading.Channels ref (dotnet/corefx#34787)
authorStephen Toub <stoub@microsoft.com>
Wed, 23 Jan 2019 23:34:30 +0000 (18:34 -0500)
committerGitHub <noreply@github.com>
Wed, 23 Jan 2019 23:34:30 +0000 (18:34 -0500)
Commit migrated from https://github.com/dotnet/corefx/commit/f00a336700b207f51b83a1a0201c6353fdaff7a8

src/libraries/System.Threading.Channels/ref/System.Threading.Channels.csproj

index dd47b7c..4ca7906 100644 (file)
@@ -8,15 +8,15 @@
   </ItemGroup>
   <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
     <Compile Include="System.Threading.Channels.netcoreapp.cs" />
+    <Reference Include="System.Runtime" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
     <Reference Include="netstandard" />
+    <Reference Include="System.Threading.Tasks.Extensions" />
   </ItemGroup>
-  <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.3' or '$(TargetGroup)' == 'netcoreapp'">
+  <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.3'">
     <Reference Include="System.Runtime" />
     <Reference Include="System.Threading.Tasks" />
-  </ItemGroup>
-  <ItemGroup>
     <Reference Include="System.Threading.Tasks.Extensions" />
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>