diff options
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/zapimage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index a70b710fe0..e64c0b67d8 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -3573,6 +3573,10 @@ void ZapImage::Error(mdToken token, HRESULT hr, UINT resID, LPCWSTR message) if ((resID == IDS_IBC_MISSING_EXTERNAL_TYPE) || (resID == IDS_IBC_MISSING_EXTERNAL_METHOD)) { + // Suppress printing IBC related warnings except in verbose mode. + if (m_zapper->m_pOpt->m_ignoreErrors && !m_zapper->m_pOpt->m_verbose) + return; + // Supress printing of "The generic type/method specified by the IBC data is not available to this assembly" level = CORZAP_LOGLEVEL_INFO; } |