Skip to content

Commit

Permalink
Add Microsoft.BuildXL.Processes PackageReference in Bootstrap project (
Browse files Browse the repository at this point in the history
…#9673)

Add Microsoft.BuildXL.Processes PackageReference in Bootstrap project

This an existing issue exposed (somehow) by #9634. In particular, `System.Threading.Channels.dll`, an indirect dependency, is missing from the bootstrap output.
  • Loading branch information
dfederm committed Jan 22, 2024
1 parent 6d97976 commit 0ef8a68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MSBuild.Bootstrap/MSBuild.Bootstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<!-- As of 17.5, NuGet.Build.Tasks and Microsoft.Build.NuGetSdkResolver depends on Newtonsoft.Json version 13.0.1,
causing it to be downloaded and flagged by component governance -->
<PackageReference Include="Newtonsoft.Json" />

<!-- Add this explicitly since it's marked as Private in MSBuild.csproj, but we need these at runtime to be like VS. -->
<PackageReference Include="Microsoft.BuildXL.Processes" Condition="'$(FeatureReportFileAccesses)' == 'true'" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(MonoBuild)' == 'true'">
Expand Down

0 comments on commit 0ef8a68

Please sign in to comment.