Re-enable VSTO add-in that is disabled by the Application due to multiple errors

送分小仙女□ 提交于 2019-12-06 03:02:45

问题


I am writing and debugging an Excel VSTO Ribbon addin and it sometimes crashes due to errors in code. When Excel finally decides it's too much and asked me whether I want to permanantly disable it, I ACCIDENTALLY clicked yes.

Now no matter what I do, I cannot get the addin to automatically load on Excel startup. I go to COMs AddIn dialog and set the checkbox; deleted the registry settings manually; cleaned the project in Visual Studio and rebuilt it -- no use.

Where should I configure to make it auto load my VSTO again? Thanks in advance. btw, it's Excel 2010 on my dev machine.


回答1:


You have made the addin disabled. To enable it back

Select File => Options then choose Add-Ins. In the Manage dropdown choose Disabled items and if your addin is listed there just enable it.



来源:https://stackoverflow.com/questions/10752455/re-enable-vsto-add-in-that-is-disabled-by-the-application-due-to-multiple-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!