From 57fd164d56466a52854e825afd5fdc2b6b97f12a Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 19 Apr 2022 17:15:05 -0500 Subject: Replace Dnc.Host with Dnc.HostGenerator to support linker trimming. --- src/ext/Bal/dnchost/dnchost.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/ext/Bal/dnchost/dnchost.cpp') diff --git a/src/ext/Bal/dnchost/dnchost.cpp b/src/ext/Bal/dnchost/dnchost.cpp index 8ca326fc..dcc9fa56 100644 --- a/src/ext/Bal/dnchost/dnchost.cpp +++ b/src/ext/Bal/dnchost/dnchost.cpp @@ -154,9 +154,6 @@ static HRESULT LoadModulePaths( hr = PathGetDirectory(pState->sczModuleFullPath, &pState->sczAppBase); BalExitOnFailure(hr, "Failed to get the directory of the full process path."); - hr = PathConcat(pState->sczAppBase, DNC_ASSEMBLY_FILE_NAME, &pState->sczManagedHostPath); - BalExitOnFailure(hr, "Failed to create managed host path."); - LExit: return hr; } @@ -249,7 +246,7 @@ static HRESULT LoadRuntime( hr = DnchostLoadRuntime( &pState->hostfxrState, pState->sczModuleFullPath, - pState->sczManagedHostPath, + pState->sczBaFactoryAssemblyPath, pState->sczBaFactoryDepsJsonPath, pState->sczBaFactoryRuntimeConfigPath); -- cgit v1.2.3-55-g6feb