• Michael Intravartolo

Control Add-Ins and Version Compatibility


Yesterday I posted a quick tip, which quickly got some comments about it being wrong. Since I know people who commented were unlikely to say something incorrect, I went to check on, because I myself experienced difficulties that made me write that post.

So, I analyzed to see who's right and who's wrong, or better yet - to see why different people might get different results.

Here's the results.

So, I stand corrected. What I wrote is not completely true. Depending on what exactly your control does, my post's accuracy ranges from absolutely wrong, to somewhat wrong, to true. So, here's the thing.

When your .NET control add-ins (and it's absolutely only about .NET control add-ins, what I said about JavaScript control add-ins, my original post is correct) if you only use the onControlAddIn event, and your control add-in does not use any of the specific functionality of the assembly you reference, then your control is going to be absolutely forward compatible, from version 6.1 (2009 SP1) all the way to 8.0 (2015).

However, backward compatibility does not work. Controls built for 2015, won't work in 2013 R2, 2013, 2009 R2, or 2009 SP1. Likewise, controls built for 2013 R2, won't work in 2013, 2009 R2, or 2009 SP1.

The only version which is fully backwards compatible is 2009 R2. Controls built for 2009 R2 will work with 2009 SP1.

The reason for this is simple, 2009 SP1 and 2009 R2 use the same assembly version (1.3.0) whereas all newer versions declare a new assembly version (7.0.0.0,7.1.0.0, and 8.0.0.0 respectively). Now, maybe there are some tricks that may make even this work, but I didn't manager to figure them out. I attempted copying the newer version of assemblies together with the control add-in assemblies, but it didn't make any difference either.

So, insofar as backward compatibility is concerned, my original post is correct. However, when forward compatibility is concerned, my post is wrong.

Thanks to Johannes and Mark for pointing out the issue.

#microsoftdynamicsnav

8 views
Contact Us

Solution Systems, Inc.

3201 Tollview Dr. 

Rolling Meadows, IL 60008

Office: 847-590-3000

Email: info@solsyst.com

Support: 224-345-2020

Support Email: support@solsyst.com

Connect With Us
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Chicago
  • Manufacturing Software | Illinois
  • Microsoft Business Podcast
  • Manufacturing Software | Chicago
  • Manufacturing Software | Chicago
  • Manufacturing Software | Chicago
Join our Mailing List

© 2020 Solution Systems, Inc.