简体   繁体   English

Outlook加载项-已卸载

[英]Outlook Addin - Unloaded

I have an outlook plugin created in .net 2012 [using vsto for .net 4.0] The plugin works fine in or release mode. 我在.net 2012中创建了一个Outlook插件[在.net 4.0中使用vsto]该插件在或发行模式下均可正常工作。

when using the wix installer and install the plugin, it is always in unloaded mode. 使用wix安装程序并安装插件时,它始终处于卸载模式。 the start up type in registry is intially 3 [when the plugin is installed] but when outlook is started it changes to 0. Tried Fuslog, NDepend to figure out the missing dependency...but no luck. 注册表中的启动类型最初为3 [安装了插件时],但是启动Outlook时,其类型变为0。尝试使用Fuslog,NDepend找出缺少的依赖项...但是没有运气。

IS there any way to check the exception? 有什么方法可以检查异常吗? BTW, the application referes to 15 dlls and an Exe [created] without manifest 顺便说一句,该应用程序引用了15个dll和一个[未创建]清单的Exe

Have you checked your VSTO log file? 您是否检查了VSTO日志文件?

You can do this by adding the following system environment variable: 您可以通过添加以下系统环境变量来做到这一点:

NAME: VSTO_LOGALERTS 名称:VSTO_LOGALERTS

VALUE: 1 值:1

Or you can display each error in a message box, by setting the following system environment variable: 或者,可以通过设置以下系统环境变量在消息框中显示每个错误:

NAME: VSTO_SUPPRESSDISPLAYALERTS 名称:VSTO_SUPPRESSDISPLAYALERTS

VALUE: 0 值:0

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

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