Impossible to register the add-in in debug mode

Add-in Express™ Support Service
That's what is more important than anything else

Impossible to register the add-in in debug mode
 
Thomas Darde




Posts: 14
Joined: 2016-07-05
I did install add in express 9. (and also uninstall/reboot/reinstall, tried to change signing options etc).
When click on "Add-in Express context menu > Register" the code is compiled without error but nothing is registerd in Outlook, urgent help needed !

Where can I find info to understand why it's not registering nothing ?
Posted 29 May, 2018 04:01:43 Top
Andrei Smolin


Add-in Express team


Posts: 15919
Joined: 2006-05-11
Hello Thomas,

I suppose you start your Visual Studio IDE via the Run as administrator command; please confirm.

Move any custom code from the constructor of the add-in module to an event handler of the AddinInitialize or OnRibbonBeforeCreate event. One of these events is the very first event that your add-in receives. Which one occurs first depends on things external to your add-in.

In the same way, move declarations of all class-level complex-type variables (e.g. SomeSuperDuperType myVar = null) to the same event.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 29 May, 2018 04:16:19 Top
Thomas Darde




Posts: 14
Joined: 2016-07-05
I did found the problem (but it was very frustrating to not have better info...)
The Loader folder in my project was empty, I did copy the files from Redistrubtables in Program Files x86/ Add in express
Posted 29 May, 2018 04:18:58 Top
Andrei Smolin


Add-in Express team


Posts: 15919
Joined: 2006-05-11
A-ha! We will look into this. Thank you for reporting!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 29 May, 2018 05:53:14 Top