Deploying for 10.0 and 10.1 systems

1890
2
07-25-2012 01:33 PM
Highlighted
New Contributor
Hello,

We are implementing an application via Base Commands in ArcMap.  Our ultimate goal is to have our assembly run in 10.0 and 10.1 systems without modification.

The project compiles fine in both a 10.0 and a 10.1 environment, but unfortunately, when we build the project in a 10.1 environment (and Visual Studio 2010), with all Esri assemblies set to ???Specific Version = False??? in the compiler, we get an error on registration in a 10.0 system stating that ESRI.ArcGIS.ADF.Local, version 10.1.0.0 could not be found.

Why would 10.1 assemblies be required when the program has been compiled with SpecificVersion=False?

Is it possible to accomplish our goal?
0 Kudos
2 Replies
Highlighted
Occasional Contributor
The SpecificVersion=False is for VSS build utilities.

The Runtime determines the correct assembly from the original assembly reference and any redirection specified in the configuration files, and determines the version that should be bound to the calling assembly.

Please look into the following help file for more information:
How the Runtime Locates Assemblies
http://msdn.microsoft.com/en-us/library/yx7xezcf.aspx
0 Kudos
Highlighted
New Contributor
Aha!  That steers me in the right direction!

Thank you so much!

Mike
0 Kudos