简体   繁体   English

在Outlook运行时不会加载VSTO Outlook加载项

[英]VSTO Outlook Add-In won't load while Outlook is running

We created a simple Outlook VSTO Add-In using a ClickOnce installer. 我们使用ClickOnce安装程序创建了一个简单的Outlook VSTO加载项。 If Outlook is already running (which is common) when the installer is run, the Add-In doesn't load. 如果运行安装程序时Outlook已在运行(这很常见),则不会加载外接程序。 It only loads after restarting Outlook. 仅在重新启动Outlook后加载。

Is there anyway to force the Add-In to load directly after ClickOnce installation (even if Outlook is already running)? 是否有任何方法可以强制在ClickOnce安装后直接加载加载项(即使Outlook已经在运行)?

No, you need to restart Outlook to get the add-in loaded. 否,您需要重新启动Outlook才能加载加载项。 See Deploying an Office Solution by Using ClickOnce for more information. 有关更多信息,请参见使用ClickOnce部署Office解决方案

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

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