Skip to content

Commit 5bc355e

Browse files
authored
Add explicit reference to System.Threading.Tasks.Dataflow (#360)
* Add explicit reference to System.Threading.Tasks.Dataflow Add explicit reference to System.Threading.Tasks.Dataflow to avoid version resolution conflicts. * Force resolve System.Threading.Tasks.Dataflow
1 parent 8d811a6 commit 5bc355e

File tree

7 files changed

+10
-0
lines changed

7 files changed

+10
-0
lines changed

src/Microsoft.ComponentDetection.Common/Microsoft.ComponentDetection.Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PackageReference Include="System.Composition.Runtime" />
1212
<PackageReference Include="System.Composition.TypedParts" />
1313
<PackageReference Include="System.Reactive" />
14+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
1415
</ItemGroup>
1516

1617
<ItemGroup Label="Package References">

src/Microsoft.ComponentDetection/Microsoft.ComponentDetection.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<RootProjectDirectory>$(MSBuildThisFileDirectory)..\..\</RootProjectDirectory>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
11+
</ItemGroup>
12+
913
<ItemGroup Label="Package References">
1014
<ProjectReference Include="..\Microsoft.ComponentDetection.Common\Microsoft.ComponentDetection.Common.csproj" />
1115
<ProjectReference Include="..\Microsoft.ComponentDetection.Contracts\Microsoft.ComponentDetection.Contracts.csproj" />

test/Microsoft.ComponentDetection.Common.Tests/Microsoft.ComponentDetection.Common.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<ItemGroup Label="Package References">
88
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
9+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
910
</ItemGroup>
1011

1112
</Project>

test/Microsoft.ComponentDetection.Contracts.Tests/Microsoft.ComponentDetection.Contracts.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<ItemGroup Label="Package References">
88
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
99
<PackageReference Include="System.Reactive"/>
10+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
1011
<PackageReference Include="packageurl-dotnet"/>
1112
</ItemGroup>
1213

test/Microsoft.ComponentDetection.Detectors.Tests/Microsoft.ComponentDetection.Detectors.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
99
<PackageReference Include="NuGet.Versioning" />
1010
<PackageReference Include="System.Reactive" />
11+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
1112
<PackageReference Include="packageurl-dotnet" />
1213
</ItemGroup>
1314

test/Microsoft.ComponentDetection.Orchestrator.Tests/Microsoft.ComponentDetection.Orchestrator.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<ItemGroup Label="Package References">
99
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
10+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
1011
</ItemGroup>
1112

1213
</Project>

test/Microsoft.ComponentDetection.TestsUtilities/Microsoft.ComponentDetection.TestsUtilities.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<ItemGroup Label="Project References">
88
<ProjectReference Include="..\..\src\Microsoft.ComponentDetection.Detectors\Microsoft.ComponentDetection.Detectors.csproj"/>
99
<PackageReference Include="System.Reactive"/>
10+
<PackageReference Include="System.Threading.Tasks.Dataflow" />
1011
</ItemGroup>
1112

1213
</Project>

0 commit comments

Comments
 (0)