Update addin version from 8.4.4395 to 9.2.4635, the adxloader.dll.manifest cannot add two assemblyIdentity

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

Update addin version from 8.4.4395 to 9.2.4635, the adxloader.dll.manifest cannot add two assemblyIdentity
 
Lucy Xia




Posts: 4
Joined: 2019-09-28
Hi Add-in Express team,

We found that after updating add-in express version from 8.4.4395 to 9.2.4635, the adxloader.dll.manifest cannot add two assemblyIdentity

I have two separate add-ins, one is the office and the other is the outlook.

This is my adxloader.dll.manifest

<configuration>
<assemblyIdentity name="MyOffice, PublicKeyToken=3935833c83097ae3" />
<assemblyIdentity name="MyOutlok, PublicKeyToken=e352d07450f87a6d" />
<loaderSettings generateLogFile="false" shadowCopyEnabled="true" privileges="administrator" configFileName="App.config" useLegacyV2RuntimeActivationPolicy="true" />
</configuration>

For version 8.4.4395, the MyOutlok.dll can be loaded by Outlook, and the MyOffice.dll can be loaded by Office(Word, Excel, PowerPoint).
But for version 9.2.4635, the Outlook load the MyOffice.dll instead of the MyOutlok.dll, and the Office can load the MyOffice correctly.
If I swap MyOutlok and MyOffice in the adxloader.dll.manifest, Outlook can load MyOutlok.dll, but Office can't load MyOffice.dll.
Similarly, I deleted the MyOffice assemblyIdentity from adxloader.dll.manifest, Outlook can also load MyOutlok.dll.
So it seems that adxloader.dll.manifest can only have one assemblyIdentity, when there are multiple assemblyIdentity, it will only load the first one.

Please help check it. Thanks in advance.
Posted 28 Sep, 2019 21:13:33 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Lucy,

We've identified this issue; it was fixed in these loader files (see below); the fix is available in subsequent Add-in Express builds.

http://temp.add-in-express.com/support/test/adxloader9.2.4635.1.zip.

Replace loader files in your add-in project and in {Add-in Express installation folder}\Redistributables. Make sure your setup project deploys them.

Please let me know if these help.

Note that although the files allow loading your add-ins, you won?Â?Ð?ét be able to sign it. If you ever need to digitally sign your add-ins, you'll need to deploy them as you would deploy two separate add-ins.


Andrei Smolin
Add-in Express Team Leader
Posted 30 Sep, 2019 06:11:49 Top
Lucy Xia




Posts: 4
Joined: 2019-09-28
Hi Andrei,

Thanks. We have verified this issue is fixed in adxloader9.2.4635.1.zip.

Btw, do you know if this issue is also fixed in the latest version add-in express 9.4.4644?
Posted 10 Oct, 2019 04:55:06 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Lucy,

Yes, the fix is included in all subsequent adxloader versions.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Oct, 2019 04:57:02 Top