无法运行自定义,因为文档中的解决方案ID与自定义不匹配 [英] the customization cannot be run because the solution id in the document does not match the customization
问题描述
您好
我使用Visual Studio 2012 for Excel 2013创建了自定义Excel功能区AddIn,并使用InstallSheild打包它。一切顺利,添加完成安装成功,但当我打开Excel使用或添加AddIn我得到错误:
I've created Custom Excel Ribbon AddIn using Visual Studio 2012 for Excel 2013, and packaged it using InstallSheild. Everything goes fine and add in finishes install successfully but when I open excel to use or add AddIn I get the error:
自定义无法运行,因为文档中的解决方案ID不匹配自定义
the customization cannot be run because the solution id in the document does not match the customization
我已经搜索过很多但是有很多未答复的帖子。任何的想法?任何帮助表示赞赏。谢谢!
I've googled a lot but there are lot of unanswered posts around this. Any idea? Any help is appreciated. Thanks!
推荐答案
您好,
打开主机时是否看到功能区控件应用?你有任何UI错误吗?请参阅
如何:显示加载项用户界面错误欲获得更多信息。
Do you see the ribbon controls when you open the host application? Do you get any UI errors? See How to: Show Add-in User Interface Errors for more information.
您是否尝试调试代码?
Did you try to debug the code?
很可能是一个属性或方法 调用代码会产生异常。它有意义吗?
Most probably a property or method call in the code generates an exception. Does it make sense?
这篇关于无法运行自定义,因为文档中的解决方案ID与自定义不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!