Select to view content in your preferred language

ArcGIS Pro CoreHost standalone Program Issue

164
1
2 weeks ago
gaofangwan
Emerging Contributor

Hi Everyone,

I installed ArcGIS Pro 3.5  and then created a program with "ArcGIS Pro CoreHost application" template in Visual Studio 2022, and  added  little number line of code to open a FileGDB after Host.Initialize().

When Debuging it, it throw exception: "Unhandled exception: System.DllNotFoundException: Unable to load DLL 'CoreInterop.dll' or one of its dependencies: The specified procedure could not be found. (0x8007007F)"

And I have check that "C:\Program Files\ArcGIS\Pro\bin" have been added to  the PATH System Environment Variable as here suggested.

 

gaofangwan_0-1751851965370.png

If anyone know why? Please tell me how to solve it , thanks.

0 Kudos
1 Reply
Aashis
by Esri Contributor
Esri Contributor

Are  ArcGIS.Core.dll & ArcGIS.CoreHost.dll set to `Copy Local: Yes`?

Aashis_0-1751898687369.png

If this doesn't work, please zip your project and post it in the thread so that we can download it for further investigation.