I have a VSTO Excel add-in created using VS2010, and I use exception handling from Enterprise Library 5.0. It works great in development, but when deployed with a click, errors are absorbed by the corporate library once. I suspect that the corporate library is not called at all because I did this:
try {
}
catch (Exception ex)
{
Globals.ThisAddIn.Application.Cursor = Microsoft.Office.Interop.Excel.XlMousePointer.xlDefault;
MessageBox.Show("handle error '" + ex.Message + "' with enterprise Policy");
exManager.HandleException(ex, "Policy");
}
And I get a dialog box, but no error is logged or displayed or thrown.
Does anyone know why corporate libraries will not be able to download? I checked and they are signed.
source
share