Change Office supported versions of an Add-in

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

Change Office supported versions of an Add-in
 
bobby




Posts: 16
Joined: 2012-01-22
Hi,
When you create an add-in-express add-in, the wizard asks what should be the minimum supported version of the add-in. This determines the Office object model version that is used (interop assemblies).

For an existing add-in, how is it possible to change the supported version for a higher one? (even if there are some incompatibilies in the code that should be changed afterwards)?

If it is not possible, how would you do to migrate an add-in-express project to a higher version of the Office object model?


Same question to add other supported applications to an existing add-in (ex: add Word functionalities to an Excel add-in).

Thanks a lot
Posted 21 Jul, 2012 05:07:03 Top
Eugene Astafiev


Guest


Hi Bobby,

Of course, it is possible to change the minimum supported version of Office. You just need to replace interop assemblies in your add-in project (see the References folder of your project) with the newest ones (please find them in the Add-in Express installation folder). You can read more about this in the http://www.add-in-express.com/creating-addins-blog/2010/03/16/interop-assemblies-late-binding/ article on our technical blog.

If you want to add other other Office applications to the list of supported applications you need:

1. Add the corresponding/host-related interop assembly to the References of your add-in project.
2. Add a property to the add-in module class (for example, ExcelApp for Excel and etc.).
3. Modify the SupportedApps property of your add-in module.
Posted 22 Jul, 2012 11:53:15 Top
bobby




Posts: 16
Joined: 2012-01-22
Thanks for your reply. It's clear!
Best regards
Posted 14 Aug, 2012 08:14:43 Top
Eugene Astafiev


Guest


You are always welcome, Bobby! :-)
Posted 14 Aug, 2012 08:25:42 Top