Update runtimeconfig.json and deps.json paths when these break past the MAX_PATH...
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>
Tue, 27 Jul 2021 22:24:16 +0000 (15:24 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 22:24:16 +0000 (15:24 -0700)
commit866808dd3d8a6d95232139d36d2738e7346c2793
treeda7d7363cee7e108b983144f8e6c0bed706b6ef3
parent2a02896735063b39d493f680c65c129102e2ad51
Update runtimeconfig.json and deps.json paths when these break past the MAX_PATH threshold  (#56224)

* Update runtimeconfig paths if we exceed MAX_PATH

* Add test

* PR feedback

* Get apphost for all platforms

* Probe bundle first
Fix return value of realpath

* Check for empty path upfront
src/installer/tests/HostActivation.Tests/PortableAppActivation.cs
src/native/corehost/deps_format.cpp
src/native/corehost/hostmisc/pal.windows.cpp
src/native/corehost/runtime_config.cpp