简体   繁体   中英

Outlook Addin, When Loading Error Ribbon_GetDCVisible

I have an outlook VSTO addin, I get the error Ribbon_GetDCVisible Exception occurred while calling the function GetVisisble when it loads. Yhe stack trace shows my last function called is the ThisAddIn_StartUp() handler and it is e mpty.

Any ideas?

EDIT:

I just made a blank outlook 2013 addin and it gave the same errors. So obviously something is wrong there.

EDIT2:

Reinstalled office, no luck. Even using XML, and a blank addin I get Ribbon_GetDCVisible Exception occurred while calling the function GetVisisble when opening a mail item with any addin created with VS even if no code has been added to it at all.

Answer was to rebuild and check startup code. My problem was a duplicate key in dict during startup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM