Avoid searching for a local hostfxr in component hosts (dotnet/core-setup#6254)
authorElinor Fung <47805090+elinor-fung@users.noreply.github.com>
Fri, 3 May 2019 17:47:59 +0000 (10:47 -0700)
committerGitHub <noreply@github.com>
Fri, 3 May 2019 17:47:59 +0000 (10:47 -0700)
commit48902c24b6623629de78c5108e0084ad8aac17a9
tree96cbe2c62e227dbcb2c48dadba34cb2b92aaacb7
parent1ae65d65757bb9f0db6fa2b4229035d8116cb645
Avoid searching for a local hostfxr in component hosts (dotnet/core-setup#6254)

- Stop looking for hostfxr next to the host when getting a delegate in com/ijw/winrt hosts
- Add case to comhost test to check that if hostfxr.dll is next to comhost, it is not used

Commit migrated from https://github.com/dotnet/core-setup/commit/c36c745b2e3f9163ae7afa66ad20d1bc343cd31f
src/installer/corehost/cli/fxr_resolver.cpp
src/installer/corehost/cli/fxr_resolver.h
src/installer/test/HostActivationTests/NativeHosting/Comhost.cs