AnsweredAssumed Answered

Problems with RuntimeManager and ProductCode Classes in ESRI.ArcGIS

Question asked by giemagomez on Jul 17, 2014
Latest reply on Jul 29, 2014 by giemagomez

Hi

 

I'm trying to run a stand-alone application using ArcObjects, C# and SQLServer Express. I have an ArcGIS 10.2 Desktop license, then I did the following to bind the application:

 

I found the ArcGIS Version dll  (ArcGISVersion.dll) in C:\Program Files\Common Files\ArcGIS\bin\

I added the reference to this dll into my application

I included the namespace: using ESRI.ArcGIS in the class before to use any ArcObjects class.

I use the next instruction to bind the application:

ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop)

 

The problem is I can't run the program, the compiler launched an error, RuntimeManager and ProductCode don't belong to ESRI.ArcGIS namespace and probably there is a missing assembly.

 

I also downloaded and install ArcGIS Runtime SDK for .NET I found in ArcGIS for Developers.

 

I hope somebody can help me with this.

 

Thanks

Outcomes