diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 17:15:05 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 18:35:15 -0500 |
| commit | 57fd164d56466a52854e825afd5fdc2b6b97f12a (patch) | |
| tree | 7d4ace6d7a55c2a50302e3b6866456026a2c6222 /src/ext/Bal/dnchost/dnchost.cpp | |
| parent | 6435d26c7e2ce54ec38d0cc9eb4d2cb10e9614e0 (diff) | |
| download | wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.gz wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.bz2 wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.zip | |
Replace Dnc.Host with Dnc.HostGenerator to support linker trimming.
Diffstat (limited to 'src/ext/Bal/dnchost/dnchost.cpp')
| -rw-r--r-- | src/ext/Bal/dnchost/dnchost.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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( | |||
| 154 | hr = PathGetDirectory(pState->sczModuleFullPath, &pState->sczAppBase); | 154 | hr = PathGetDirectory(pState->sczModuleFullPath, &pState->sczAppBase); |
| 155 | BalExitOnFailure(hr, "Failed to get the directory of the full process path."); | 155 | BalExitOnFailure(hr, "Failed to get the directory of the full process path."); |
| 156 | 156 | ||
| 157 | hr = PathConcat(pState->sczAppBase, DNC_ASSEMBLY_FILE_NAME, &pState->sczManagedHostPath); | ||
| 158 | BalExitOnFailure(hr, "Failed to create managed host path."); | ||
| 159 | |||
| 160 | LExit: | 157 | LExit: |
| 161 | return hr; | 158 | return hr; |
| 162 | } | 159 | } |
| @@ -249,7 +246,7 @@ static HRESULT LoadRuntime( | |||
| 249 | hr = DnchostLoadRuntime( | 246 | hr = DnchostLoadRuntime( |
| 250 | &pState->hostfxrState, | 247 | &pState->hostfxrState, |
| 251 | pState->sczModuleFullPath, | 248 | pState->sczModuleFullPath, |
| 252 | pState->sczManagedHostPath, | 249 | pState->sczBaFactoryAssemblyPath, |
| 253 | pState->sczBaFactoryDepsJsonPath, | 250 | pState->sczBaFactoryDepsJsonPath, |
| 254 | pState->sczBaFactoryRuntimeConfigPath); | 251 | pState->sczBaFactoryRuntimeConfigPath); |
| 255 | 252 | ||
