Merging internal commits for release/8.0 by hoyosjs · Pull Request #116554 · dotnet/runtime

and others added 7 commits

May 1, 2025 19:02
…rios (COM, C++/CLI, custom component host) could try to load coreclr from CWD

There is a fallback for apps with no .deps.json where the host will consider the app directory for loading coreclr. In component hosting scenarios, we do not have an app path / directory. We were incorrectly going down the path of looking for coreclr next to the empty app directory, which resulted in looking in the current directory.

This change skips that path for libhost scenarios. It also adds checks that the paths we determine for loading coreclr, hostpolicy, and hostfxr are absolute.
…-merge-8.0-2025-06-10-1311

Copilot AI review requested due to automatic review settings

June 11, 2025 18:55

This was referenced

Jun 11, 2025