How to register addin without shim mode?

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

How to register addin without shim mode?
 
Penn Ye




Posts: 18
Joined: 2016-06-05
Is there any parameter for adxregistrator.exe to register addin without shim mode?

Because i need to debug wpf controls directly in Office,however in shim mode, there is no live property support.
Posted 25 Jun, 2018 00:21:41 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Penn,

adxloader.dll is a shim; you cannot load an add-in without it.

Is it possible that you run in a problem on a latest Office 2016 build? if so, check whether the issue goes away if you choose "Optimize for compatibility" in Display settings; look in the status bar or in File | Options | General.


Andrei Smolin
Add-in Express Team Leader
Posted 25 Jun, 2018 03:14:43 Top
Penn Ye




Posts: 18
Joined: 2016-06-05
WPF live property can only be visible when the domain of addin is same as Office.

look like that:
https://ibb.co/gSL6qT

if in shim mode, no toolbar will display.
Posted 25 Jun, 2018 03:24:07 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Penn,

Office doesn't have a domain; it is a native-code application. An Add-in Express add-in (as well as a VSTO add-in) is always loaded to a non-default AppDomain; using the default AppDomain for Office extensions isn't recommended.


Andrei Smolin
Add-in Express Team Leader
Posted 25 Jun, 2018 06:11:21 Top