3

I am trying to install my custom ArcEngine application on another machine. I just uninstalled and reinstalled ArcGis Engine Runtime 10 and authorized it.

"Unable to install or run the application. The application requires that assembly ESRI.ArcGIS.Framework Version 10.0.0.0 be installed in the GAC first"

The weird thing is that a previous version of my application still runs.

Even the most long-shot type advice is welcome. I'm hitting a wall.


I removed the reference to ESRI.ArcGIS.Framework, I guess I wasn't using it. So I thought that would fix the problem, but actually the problem persists. So I assume that one of the assemblies I use is dependant on Framework. On the target machine, I went to the assembly directory and there is no Framework assembly on that machine and there is on my machine. So short term quick fix is to get the assembly on that machine, I am installing devkit on the target to see if that gives me the assembly I need.

3
  • For each of the ESRI assemblies referenced in your project, do you have "specific version" set to false? Dec 3, 2010 at 2:22
  • 1
    Also, what do you have in your app that uses the framework assembly? An app intended to run under an arcengine license shouldn't use that assembly. Dec 3, 2010 at 2:46
  • Kirk, it is a very common myth that the "specific version" switch in VS has any effect on the emitted assembly. It merely tweaks the way VS resolves assembly references in your project and has nothing to do with the steps taken by the CLR when resolving references at runtime. Bindings can also be specified in the configuration files. See msdn.microsoft.com/en-us/library/yx7xezcf%28v=VS.100%29.aspx
    – Petr Krebs
    Dec 3, 2010 at 17:44

1 Answer 1

1

I installed the SDK to get the assemblies, although I think maybe I could have copied them. Once I had the necessary assemblies I used the gacutil program to put them into the GAC. I found it unusual that the ESRI installer did not auto register the necessary DLLs into the GAC.

1
  • You might want to verify that this doesn't violate the license agreement. Dec 6, 2010 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.