Problem with using ESRI.ArcGIS.Geoprocessing;

476
2
06-30-2013 07:07 PM
Highlighted
New Contributor
I'm running a small program in c # and get the following error, will I need to install something else?


the type or namespace name 'Geoprocessing' does not exist in the namespace 'Esri.ArcGIS'


Thank you for your help.

Gualberto
Reply
0 Kudos
2 Replies
Highlighted
MVP Frequent Contributor
Is this a program you have created? If so check you are importing the GeoProcessing library? If not add it, recompile.

If it is a program created by another developer then maybe its for another version of ArcMap.

For the record you say nothing about your system setup, this is not very helpful....

What version of ArcMap, operating system, service packs?
Reply
0 Kudos
Highlighted
MVP Honored Contributor
The Geoprocessing reference that you made need to add won't be found under the "Add ArcGIS Reference". Instead, you'll have to open the "Add Reference" tool, and in the .NET tab, select "ESRI.ArcGIS.Geoprocessor". You should also set the Specific Version property on this reference to False.
Reply
0 Kudos