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

Fix Sync targets to not actually cause a build to occur as well #31139

Merged

Conversation

weshaggard
Copy link
Member

The TraversalBuildDependsOn gets other things added to it like
BuildAllProjects which we don't want for the Sync target so
factoring out the common pre-steps and sharing just those
with sync and build.

Fixes an issue where Sync is failing because it is trying to build prematurely. This manifiests itself in different ways but generally looks something like:

error : Error when creating nuget packed package from /mnt/j/workspace/dotnet_corefx/release_2.1/linux-TGroup_netcoreapp+CGroup_Release+AGroup_arm64+TestOuter_false_prtest/bin/packages/Debug/specs/runtime.linux-arm64.Microsoft.Private.CoreFx.NETCoreApp.nuspec. System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/j/workspace/dotnet_corefx/release_2.1/linux-TGroup_netcoreapp+CGroup_Release+AGroup_arm64+TestOuter_false_prtest/bin/Linux.arm64.Debug/native 

cc @danmosemsft

The TraversalBuildDependsOn gets other things added to it like
BuildAllProjects which we don't want for the Sync target so
factoring out the common pre-steps and sharing just those
with sync and build.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants