本文介绍了OneNote 2010加载项加载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Googled out-可以在此处使用一些帮助.

Googled out- could use some help here.

我在这里遵循了这个出色的教程(http://www.malteahrens.com/#/blog/howto-onenote-dev/),并创建了自己的onenote 2010插件,但是我很难将其保持在一个笔记.在首次安装该插件时,我打开onenote,并且该插件已被很好地加载(注册表显示了加载行为3).我关闭了onenote,然后再次将其打开,我的插件就被卸载了. Onenote(options-addins-manage com插件)显示com出现加载错误,注册表显示的加载行为为2(错误输出).具体错误是:

I followed this excellent tutorial here (http://www.malteahrens.com/#/blog/howto-onenote-dev/) and have created my own onenote 2010 addin, but I am having trouble getting it to STAY in onenote. On first install of the addin, I open onenote and the addin is loaded just fine (registry shows load behavior 3). I close onenote and then simply open it again and my addin is unloaded. Onenote (options-addins-manage com addins) shows there was a load error with com, and the registry shows a load behavior of 2 (errored out). The specific error is:

加载行为:未加载.加载COM加载项期间发生运行时错误.

Load Behavior: Not loaded. A runtime error occurred during the loading of the COM Add-In.

我可以启用显示此错误的插件,并且可以再次正常工作-直到我重新启动应用程序为止.似乎它不能从启动时随时加载,除非重新安装后.

I can enable the plugin displaying this error and it works just fine again- until I restart the app. Seems it just cant load from startup any time except after a fresh install.

已经启用了从上面站点的链接之一进行日志记录的功能,并且在日志中看不到任何有趣的内容.我无法附加到dllhost.exe进行调试,因为它没有运行.所以我什至不知道有什么问题.

Ive enabled logging from one of the links from the site above, and dont see anything interesting in the log. I can't attach to dllhost.exe to debug because its not running. So I don't know any way to even see what is wrong.

任何人都对如何调试此加载错误有任何想法,或者有什么想法?

Anyone have any ideas how I can debug this load error or ideas of what it might be?

推荐答案

发现了问题-我正在对我的一个程序集进行签名,并在不久前对其进行了重命名.重新生成功能强大的程序集签名文件即可解决此问题.

Found the problem- I was signing one of my assemblies and had renamed the assembly itself a bit ago. Regenerating the strong assembly signing file fixes the issue.

仍然是反复试验,我无法找到任何有用的日志信息来帮助自己.

Still it was trial and error to find, I was unable to find any useful log info that could have helped, so that sux.

这篇关于OneNote 2010加载项加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 09:01