重新启用由于多个错误而被应用程序禁用的VSTO加载项 [英] Re-enable VSTO add-in that is disabled by the Application due to multiple errors

查看:347
本文介绍了重新启用由于多个错误而被应用程序禁用的VSTO加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写和调试Excel VSTO Ribbon加载项,有时由于代码错误而崩溃.当Excel最终认为它太多时,问我是否要永久禁用它,我偶然单击了.

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.

现在,无论我做什么,我都无法使加载项在Excel启动时自动加载.我转到"COMs加载项"对话框并设置复选框;手动删除注册表设置;在Visual Studio中清理项目并重建它-没用.

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.

我应该在哪里配置使其再次自动加载VSTO?提前致谢.顺便说一句,这是我的开发人员机器上的Excel 2010.

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

推荐答案

您已禁用该插件.启用它

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.

这篇关于重新启用由于多个错误而被应用程序禁用的VSTO加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆