outlook.exe.config with Office 2016

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

outlook.exe.config with Office 2016
 
Thomas Lauer




Posts: 67
Joined: 2011-01-24
Hi,


I have an addin for office 2016. so far ok. Now there is an addin from another manufacturer. that requires an office.exe.config file with the following content.


<?xml version="1.0" standalone="yes"?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
</configuration> 


if this file is there, my addin will not work anymore.

best regards
Thomas
Posted 17 Apr, 2018 07:51:38 Top
Andrei Smolin


Add-in Express team


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

You can build your add-in using .NET 4.0 (or above). Does it work in this case?


Andrei Smolin
Add-in Express Team Leader
Posted 18 Apr, 2018 04:43:00 Top
Thomas Lauer




Posts: 67
Joined: 2011-01-24
My Addin is .NET 4
Posted 18 Apr, 2018 04:47:08 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Please reinstall your add-in, start Outlook and send me copies of these files to the support email address:

- if you use Add-in Express 8.6 or below, {My Documents}\Add-in Express\adxregistrator.log in the profile of the user who runs the installer
- if you use Add-in Express 8.6 or below, {My Documents}\Add-in Express\adxloader.log in the profile of the user who starts Outlook
- if you use Add-in Express 8.7 or above, %temp%\{AssemblyProduct attribute; see AssemblyInfo}\adxregistrator.log in the profile of the user who runs the installer
- if you use Add-in Express 8.7 or above, %temp%\{AssemblyProduct attribute; see AssemblyInfo}\adxloader.log in the profile of the user who starts Outlook

Please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Apr, 2018 04:54:54 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thomas,

Thank you for the log files. They show that your add-in is built using .NET Framework 2.0-3.5, not 4.X. Also, make sure you deploy adxloader.dll, adxloader64.dll, and adxregistrator.exe of the same version as AddinExpress.MSO.2005.dll.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Apr, 2018 03:58:48 Top