Add single-file app's dir to NATIVE_DLL_SEARCH_DIRECTORIES (#42876)
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>
Fri, 2 Oct 2020 00:44:36 +0000 (17:44 -0700)
committerGitHub <noreply@github.com>
Fri, 2 Oct 2020 00:44:36 +0000 (17:44 -0700)
commit040301836ddc1c8d63025ac5e578050b48554563
tree26494941b4ea217bb355b967f59fd8349481d2f7
parent3be4a5719a3a78c2a1e60c928c10aa48f2da69fd
Add single-file app's dir to NATIVE_DLL_SEARCH_DIRECTORIES (#42876)

Add two directories to NATIVE_DLL_SEARCH_DIRECTORIES to single-file bundles:

1. The bundle exe directory
2. If the bundle extracts any files, the extraction directory

Fixes #42772
src/installer/corehost/cli/hostpolicy/deps_resolver.cpp
src/installer/tests/Assets/TestProjects/SingleFileApiTests/Program.cs
src/installer/tests/Assets/TestProjects/SingleFileApiTests/SingleFileApiTests.csproj
src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleTestBase.cs
src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileApiTests.cs
src/installer/tests/TestUtils/TestProjectFixture.cs