c# - VSTO Microsoft Office Outlook 2013 Addins keep disabling Ribbon -
i developed application using c# outlook ribbon addins. working fine, keep disabling when outlook start.
is add-in listed in disabled items list?
microsoft office applications can disable add-ins behave unexpectedly. if application not load add-in, application might have hard disabled or soft disabled add-in.
hard disabling can occur when add-in causes application close unexpectedly. might occur on development computer if stop debugger while startup event handler in add-in executing.
soft disabling can occur when add-in produces error not cause application unexpectedly close. example, application might soft disable add-in if throws unhandled exception while startup event handler executing.
when re-enable soft-disabled add-in, application attempts load add-in. if problem caused application soft disable add-in has not been fixed, application soft disable add-in again.
see how to: re-enable add-in has been disabled more information.
also outlook 2013 monitors add-in performance metrics such add-in startup, shutdown, folder switch, item open, , invoke frequency. outlook records elapsed time in milliseconds each performance monitoring metric. example, startup metric measures time required each connected add-in during outlook startup. outlook computes median startup time on 5 successive iterations. if median startup time exceeds 1000 milliseconds (1 second), outlook disables add-in , displays notification user add-in has been disabled. user has option of enabling add-in, in case outlook not disable add-in if add-in exceeds 1000 millisecond performance threshold. see performance criteria keeping add-ins enabled.