diff options
Diffstat (limited to 'src/dnchost/dncutil.cpp')
-rw-r--r-- | src/dnchost/dncutil.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dnchost/dncutil.cpp b/src/dnchost/dncutil.cpp index 4a82d961..89fe707f 100644 --- a/src/dnchost/dncutil.cpp +++ b/src/dnchost/dncutil.cpp | |||
@@ -182,7 +182,14 @@ static void HOSTFXR_CALLTYPE DnchostErrorWriter( | |||
182 | __in LPCWSTR wzMessage | 182 | __in LPCWSTR wzMessage |
183 | ) | 183 | ) |
184 | { | 184 | { |
185 | BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "error from hostfxr: %ls", wzMessage); | 185 | BOOTSTRAPPER_LOG_LEVEL level = BOOTSTRAPPER_LOG_LEVEL_ERROR; |
186 | |||
187 | if (CSTR_EQUAL == ::CompareString(LOCALE_INVARIANT, 0, wzMessage, -1, L"The requested delegate type is not available in the target framework.", -1)) | ||
188 | { | ||
189 | level = BOOTSTRAPPER_LOG_LEVEL_DEBUG; | ||
190 | } | ||
191 | |||
192 | BalLog(level, "error from hostfxr: %ls", wzMessage); | ||
186 | } | 193 | } |
187 | 194 | ||
188 | static HRESULT InitializeHostfxr( | 195 | static HRESULT InitializeHostfxr( |