Visual Studio solution for ArcGIS 9.3 and ArcGIS 10.1

1769
1
Jump to solution
03-05-2013 09:20 PM
AlbertoGonzalez
New Contributor
Hello,

I have a project in Visual Studio for ArcGIS 9.3 and I need to develop the same applicattion for ArcGIS 10.1.
Does anybody know how to keep my code for working in both versions ?  I just want to mainting only one code (I assume I will need at least two project for adding the differents ESRI assemblies in 9.3 and 10.1)
0 Kudos
1 Solution

Accepted Solutions
RichardWatson
Frequent Contributor
You can have a single set of source.  What you will likely end up doing is using conditional compilation statements like:

#if ESRI101
    // code
#else
   // other code
#endif

Where you define ESRI101 (or whatever you want) in your project.

View solution in original post

0 Kudos
1 Reply
RichardWatson
Frequent Contributor
You can have a single set of source.  What you will likely end up doing is using conditional compilation statements like:

#if ESRI101
    // code
#else
   // other code
#endif

Where you define ESRI101 (or whatever you want) in your project.
0 Kudos