We created a simple Outlook VSTO Add-In using a ClickOnce installer. If Outlook is already running (which is common) when the installer is run, the Add-In doesn't load. It only loads after restarting Outlook.
Is there anyway to force the Add-In to load directly after ClickOnce installation (even if Outlook is already running)?
No, you need to restart Outlook to get the add-in loaded. See Deploying an Office Solution by Using ClickOnce for more information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.