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:
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.
I know that, but the rest of my application use ArcObjects. The problem is with RuntimeManager and ProductCode classes. I'm not sure if there is a missing assembly because according to ArcObjects 10 .NET SDK Help, I don't need anything else but the code doesn't run
Thanks for the information about setting the application
Did you mean that the correct instruction is
Because it doesn't work either
inside ESRI.ArcGIS I only have this
None of them have a Version namespace, even there is a document that say so: http://help.arcgis.com/en/sdk/10.0/Arcobjects_net/pdf/VersionObjectModel.pdf
I also checked the documentation of ESRI.ArcGIS namespace and on this link: ArcObjects 10 .NET SDK Help
the content is different to the content I have when I include the namespace into the program.
I also try with this instruction: "RuntimeManager.Bind(ProductCode.Desktop);" and add all the namespaces from ESRI.ArcGIS, but nothing change