Deprecating add-in for specific Outlook version

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

Deprecating add-in for specific Outlook version
 
Mark Wijnbergen




Posts: 27
Joined: 2019-03-18
Hi,

In a few months, Microsoft will stop supporting Outlook 2010 and when this happens, I would like to stop users from using my Add In with Outlook 2010 also.

- How can I prevent my Add In from running on specific Outlook versions?

- In addition, the Add In was currently build with support for Outlook 2010. Would you recommend to update the Add In express dlls so they only support Outlook version > 2010?


Thanks,

Mark
Posted 06 Jul, 2020 03:46:08 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Mark,

Mark Wijnbergen writes:
- How can I prevent my Add In from running on specific Outlook versions?


The adxloader.dll.manifest has the minOfficeVersionSupported attribute. The value of the attribute is the Office version specified when creating the project; you can change it if required. When Office loads the loader, it compares this value with the Office version and stops or continues the load process.

Mark Wijnbergen writes:
- In addition, the Add In was currently build with support for Outlook 2010. Would you recommend to update the Add In express dlls so they only support Outlook version > 2010?


If you would never deal with Office 2010, you can replace interop assemblies in the Interops folder with that from the {Add-in Express}\Redistributables\Interop Assemblies\Office 2013 and rebuild your project. This will let you use early binding to use features introduced in Office 2013; with Office 2010 interops you would need to use late binding. Also, we recommend embed the interops; this is only possible to do if you use the .NET Framework 4.x. Check https://www.add-in-express.com/forum/read.php?FID=5&TID=15937.


Andrei Smolin
Add-in Express Team Leader
Posted 06 Jul, 2020 04:12:25 Top
Mark Wijnbergen




Posts: 27
Joined: 2019-03-18
Thanks for the quick reply Andrei!

Best,

Mark
Posted 06 Jul, 2020 04:21:11 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 06 Jul, 2020 04:32:58 Top