简体   繁体   English

垫片加载项未加载

[英]shim add-in not loaded

I am kind of new on the whole shim add-in thing so go easy on me. 我在整个shim外接程序上都是新手,所以对我来说轻松一点。

Here is what I did: 这是我所做的:

1) create shared add-in (new_addin) and put messagebox on the on connect proc 1)创建共享加载项(new_addin)并将消息框放在on connect proc上

2) add shim add-in project and chose for word and excel 2)添加shim附加项目并选择word和excel

3) then add setup project add primary output for the three project set the register property for the shim vsdrpCOM and for the add-in and the ManagedAggregator to vsdrpDoNotRegister and it work fine on my computer. 3)然后添加安装程序项目,为三个项目添加主要输出,为填充程序vsdrpCOM以及add-in和ManagedAggregator的register属性设置为vsdrpDoNotRegister,它在我的计算机上可以正常工作。

But when i install it on other computers have the .net freamwork 2 it give not loaded. 但是,当我在其他计算机上安装.net freamwork 2时,它不会加载。 A run time error occurred the load behavior changed from 3 to 2 and i put try catch in the add-in startup completed but it didn't through any error. 发生运行时错误,加载行为从3更改为2,我在外接程序启动中try catch ,但未遇到任何错误。

Is KB908002 installed? 是否安装了KB908002? Please see my answer to this question: 请参阅我对这个问题的回答:

Making Excel 2002 use .NET v2.0.50727 runtime 使Excel 2002使用.NET v2.0.50727运行时

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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