Backward compatibility of 10.2 ArcMap AddIns with ArcMap 10.1

6624
15
Jump to solution
01-16-2014 07:28 AM
FossiG_
New Contributor III
Hi all,

are there any experiences with ArcMap AddIns built in Version 10.2 to be used in an ArcMap 10.1 installation?

We plan to upgrade to Win8 / Visual Studio 2012. But as I learned from the system requirements, 2012 is only supported with ArcGIS 10.2.

We still have to support several 10.1 installations, which probably won't be upgraded so soon. What's the recommended solution?

Thanks in advance
Fossi
0 Kudos
15 Replies
LeoDonahue
Occasional Contributor III
I really hesitate to give this answer, but...

The same Java code that was developed in an ArcGIS 10.0 Add-in environment works in 10.2.  I simply copied the 10.0 Add-in to a 10.2 workstation and it worked without issue.

Moving that Java code to an ArcGIS 10.2 environment and building the Add-in, then copying that Add-in back to a 10.0 workstation works as well.

** Note:  This particular Add-in was manipulating shapefile data and I was not license checking.

I know that if I were license checking that I would have had to change the code for license checking and rebuild the Add-in for each environment, as i have to do that for other Add-ins I created that use license checking.

I have a feeling ESRI will put the kibosh to this at the next SP, now that I have blabbed.
0 Kudos
FossiG_
New Contributor III
Back to the original question...

Addins are ArcGIS-version specific. A 10.2 compiled Addin won't work with 10.1, even if the underlying ArcObjects code is 10.1 compatible. It's also true vice-versa.

If you have clients running 10.1 you may need to keep an installation with ArcGIS 10.1 & Visual Studio 2008 or 2010 in order to develop new solutions for them.


Thanks for clarification, even though I had wished for an other anwser. 😉
Holding two environments for development doesn't make things easier. I read that I can have more than one version of Visual Studio on the same machine, even it's not the best idea.

Does anybody know, if I can have two ArcMap-Installation on the same machine? The default setup seems to enforce an update, which removes all 10.1-components. But I doubt that the ArcObjects-setup will distinguish between VS2010 and VS2012...

TIA,
Fossi
0 Kudos
LeoDonahue
Occasional Contributor III
>> Does anybody know, if I can have two ArcMap-Installation on the same machine?
No.  If you mean can you have 10.0 and 10.1 on the same machine, no.  10.1 will make you uninstall the older version of ArcMap.

But, if you have the ESRI license, you can always use a virtual machine software to spin up another instance of ArcMap on the same machine, assuming your machine is capable with resources.
0 Kudos
FossiG_
New Contributor III
But, if you have the ESRI license, you can always use a virtual machine software to spin up another instance of ArcMap on the same machine, assuming your machine is capable with resources.


Hi Leo and Sol,

thanks for your replies. Using a VM to maintain a second machine for compiling would be no great problem. What gives me a headache is the licensing [Sorry, I know we are far from the original topic now :o].

The license agreement under http://www.esri.com/~/media/Files/Pdfs/legal/pdfs/e204_e300.pdf states
EDN server Software and Data may be installed on multiple computers for use by any Licensee
EDN developer; all other EDN Software is licensed as a Single Use License.


I am no lawyer. Is it considered single use, if I maintain two installations of ArcMap?
What argues for this position: It's physical the same machine and it's the same developer. So multi-install, but single use. And it would be installations of different versions. Not two installation of the same.

Does these accord with the common understanding of the license agreement?

TIA
Fossi

Addition:
Sorry, I was too hasty. "Single use" has a little different definition as I expected. Did I mention, that I hate license stuff? 😉
"Single Use License" means a license that allows Licensee to permit a single authorized end user to install and use the Product on a single computer for use by that end user on the computer on which the Product is installed. Licensee may permit the single authorized end user to install a second copy for end user's exclusive use on a second computer as long as only one (1) copy of Product is in use at any time. No other end user may use Product under the same license at the same time for any other purpose.
0 Kudos
LeoDonahue
Occasional Contributor III
I'm glad you found the info on single use license as that seemed to stick in the back of my mind that you might be able to have a second install as long as you were not using both at the same time.  I think it might be specific to the same version though, but I honestly don't know how ESRI manages single use licesning these days.  Alot has changed over the years since I had to keep track of this.

Your original question was whether a 10.2 Add-in is backwards compatible with 10.1. 

  • Under .NET we have determined the answer is no.



  • Under Java, I can show that it is possible as long as you are not using license checking code, otherwise, you simply have to recompile your code to change the constant value that was used in the different versions (at least from 10.0 to 10.1).  I don't know if what I can show is intended, or if it "just happens to work because no one plugged that hole".


Check with ESRI to see if you can run a VM in a different ArcGIS version using your existing single use license, or switch to Java :cool:
LeoDonahue
Occasional Contributor III
Leo, why switch Java?  Someone should write a technical article Top 10 reasons to Program ArcObjects using Java

<insert napolean dynamite response>Maybe I will, gosh!</>
0 Kudos