Visual Studio solution for ArcGIS 9.3 and ArcGIS 10.1

1544
1
Jump to solution
03-05-2013 09:20 PM
Highlighted
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)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Regular Contributor III
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

Reply
0 Kudos
1 Reply
Highlighted
Regular Contributor III
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

Reply
0 Kudos