Workaround maxpath when packaging source
authorEric St. John <ericstj@microsoft.com>
Thu, 11 May 2017 18:33:11 +0000 (11:33 -0700)
committerEric St. John <ericstj@microsoft.com>
Thu, 11 May 2017 19:16:55 +0000 (12:16 -0700)
commit05f18c47a9bf40a7aca4c26b8eb19b6b29a77462
tree1bd22143dd5815873d32f0c8736ea261ce611b67
parent60bc7ff3b43577017cd29c56fc4931ff27172f08
Workaround maxpath when packaging source

On Windows we were hitting max_path due to deep paths for source files inside packages.

Workaround this by creating a symbolic link to a shorter path.

I've also improved perf slightly by leaving the wildcards in until the pack, which will
evaluate the source inclusion wildcard.

Commit migrated from https://github.com/dotnet/core-setup/commit/38565036f3d3c67e873184336528c63c93fce1e8
src/installer/pkg/projects/Microsoft.NETCore.App/src/Microsoft.NETCore.App.depproj
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.depproj