Addin works fine with Excel but fails silently when debugging from VS2017

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

Addin works fine with Excel but fails silently when debugging from VS2017
 
Maurice Calvert




Posts: 87
Joined: 2008-09-12
I've tried registering both from the IDE and manually, purged the registry of all references to the addin, always the same result (I've been working on this for 3 whole days now).

1. When I start Excel: addin loads, log produced, I can attach the debugger.

2. When I start debugging from the IDE: Excel starts, no addin loaded, no logs!

How can I find out why, when debugging from the IDE, why Excel doesn't load the addin?

Weird eh?
Posted 02 Apr, 2020 05:02:33 Top
Andrei Smolin


Add-in Express team


Posts: 17375
Joined: 2006-05-11
Hello Maurice,

Should Excel start loading your add-in, you would see adxloader.log created/updated.

Does the add-in load, if you register the add-in from the IDE and then start Excel from the Start menu?

I wonder why your adxregistrator.log show you run adxregistrator.exe elevated. Does Excel start elevated when you run it from the Start menu? In the Details tab of the Task Manager window, add the Elevated column. On the same tab make sure Excel is started for the user profile that you use (not for admin or someone else).

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Apr, 2020 05:18:57 Top