How to run the ArcGIS Code Migration Analyzer


Summary
The ArcGIS Code Migration Analyzer provides the developer with the required information to migrate ArcGIS 9.3 projects to ArcGIS 10. Migration information can be provided for single projects or all projects in a solution.


About running the ArcGIS Code Migration Analyzer

Do the following steps to run the ArcGIS Code Migration add-in.
  1. Start Visual Studio and open a 9.3 Engine project, or a solution that contains a 9.3 Engine project or projects.
  2. Click the Tools menu and select ArcGIS Code Migration Analyzer. The ArcGIS Code Migration Analyzer dialog box appears. Use this dialog box to select projects to migrate. By default, all projects are selected for migration and show on the Projects to Analyze area.
  3. To remove a project from the Projects to Analyze area, select the project and click the back arrow button.
  4. To add a project to the Projects to Analyze area, select the project on the Projects in Solution area and click the forward arrow button. 
  5. Click the Analyze button to view the recommended changes for migrating your code to 10.0. See the following screen shot:

Results of the analysis

The results of the analysis can be found in the following locations:
  • Visual Studio Output window
  • Visual Studio Error List window
  • ArcGIS Code Migration Log file

Visual Studio Output window

The following screen shot shows the Visual Studio Output window:

Visual Studio Error List window

Do the following steps to view information on the Error List Window:
  1. Click the Warnings button to show the recommended changes that are prefixed with ArcGIS. See the following screen shot:


  2. To view more information on how to change the issues on the Error List window, right-click the warning and choose Show Error Help. See the following screen shot:

ArcGIS Code Migration Log file

The following screen shot shows the ArcGIS Code Migration Log file that is added to Visual Studio:
  • Add-ins are not supported in Microsoft Visual Studio Express; therefore, the ArcGIS Migration Analyzer is not available in that environment.
  • Migrate your projects from older versions of Microsoft Visual Studio before running this add-in.






Additional Requirements
  • ArcGIS Visual Studio integrated development environment (IDE) Integration Framework for Visual Studio 2010.

Development licensing Deployment licensing
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced
Engine Developer Kit