Skip to content

Commit

Permalink
Remove a dependency on System.Threading.Tasks.Extensions when targeti…
Browse files Browse the repository at this point in the history
…ng .NET Core 3 as it's not required
  • Loading branch information
Oren Novotny committed Feb 19, 2019
1 parent 902d431 commit c221a0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Ix.NET/Source/System.Linq.Async/System.Linq.Async.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
<PackageReference Condition="'$(TargetFramework)' == 'netstandard1.4' " Include="System.Reflection.TypeExtensions" Version="4.5.1" />
<PackageReference Condition="'$(TargetFramework)' != 'netcoreapp3.0' "
Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
<PackageReference Condition="'$(TargetFramework)' == 'netstandard1.4' "
Include="System.Reflection.TypeExtensions" Version="4.5.1" />
<ReferenceAssemblyProjectReference Include="..\refs\System.Linq.Async.Ref\System.Linq.Async.Ref.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
<PackageReference Condition="'$(TargetFramework)' == 'netstandard1.4' " Include="System.Reflection.TypeExtensions" Version="4.5.1" />
<PackageReference Condition="'$(TargetFramework)' != 'netcoreapp3.0' "
Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
<PackageReference Condition="'$(TargetFramework)' == 'netstandard1.4' "
Include="System.Reflection.TypeExtensions" Version="4.5.1" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit c221a0c

Please sign in to comment.