Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Filter binplace and harvest package depproj's to only direct reference #31167

Merged

Conversation

weshaggard
Copy link
Member

We don't need to copy out the full closure of all packages for
these project so only copy the packages that are directly referenced.

cc @ViktorHofer @ericstj

Fixes https://github.com/dotnet/corefx/issues/31156

@@ -9,6 +9,11 @@

<Import Project="harvestPackages.props" />

<ItemGroup>
<!-- Only include the assets from the direct packages we reference in the output -->
<PackageToInclude Include="@(PackageReference)" />
Copy link
Member

@ViktorHofer ViktorHofer Jul 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't binplace in harvestPackages.depproj, is this just in case?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point I forgot we don't copy. I will remove this.

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested it locally and it works. Thanks for the fix!

@weshaggard weshaggard force-pushed the FixRaceConditionInExternalRestore branch from b3b549b to f24fb67 Compare July 18, 2018 23:02
We don't need to copy out the full closure of all packages for
this project so only copy the packages that are directly referenced.
@weshaggard weshaggard force-pushed the FixRaceConditionInExternalRestore branch from f24fb67 to f58f59b Compare July 18, 2018 23:04
@weshaggard
Copy link
Member Author

test Packaging All Configurations x64 Debug Build

Got a weird error that seems unrelated:
https://ci3.dot.net/job/dotnet_corefx/job/master/job/windows-TGroup_all+CGroup_Debug+AGroup_x64+TestOuter_false_prtest/14307/consoleFull

MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\dotnet-bot\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.

@ViktorHofer ViktorHofer merged commit eb41cd4 into dotnet:master Jul 19, 2018
@karelz karelz added this to the 3.0 milestone Jul 19, 2018
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…efx#31167)

Don't copy out the full closure of all packages for binplacePackages.


Commit migrated from dotnet/corefx@eb41cd4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants