Select to view content in your preferred language

Could not load ArcGIS Runtime (RuntimeCoreNet200_8.dll) or some of its dependencies

605
6
09-26-2025 01:18 PM
AndrewWilsonDOT
New Contributor

2025-09-26 15:55:27,201 [ 1] ERROR FAA.AEE.AEDT.GUI.Providers.EsriLicenseProvider - [GUI] ArcGISRuntimeEnvironment.InstallPath N/A. Unable to initialize ArcGIS Runtime component.
System.AggregateException: One or more errors occurred. (Could not load ArcGIS Runtime (RuntimeCoreNet200_8.dll) or one of its dependencies. Ensure "Microsoft Visual C++ 2015-2022 Redistributable" is installed.) (Could not load ArcGIS Runtime (RuntimeCoreNet200_8.dll) or one of its dependencies. Ensure "Microsoft Visual C++ 2015-2022 Redistributable" is installed.)
---> System.InvalidOperationException: Could not load ArcGIS Runtime (RuntimeCoreNet200_8.dll) or one of its dependencies. Ensure "Microsoft Visual C++ 2015-2022 Redistributable" is installed.

I installed the latest Microsoft Visual C++ 2015-2022 Restributable and still get the error.

0 Kudos
6 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

Is this error within Visual Studio, when trying to debug/start the app? Are you able to repro with a simple app created from our project template? 

NuGet Gallery | Esri.ArcGISRuntime.ProjectTemplates 200.8.0 or ArcGIS Maps SDK for .NET Project Templates - Visual Studio Marketplace

Thanks

0 Kudos
hailongjin
New Contributor

I encountered the same problem. How can I solve it?

debug/start the app within Visual Studio is OK(windows 10), but can't start on other PC (windows 11 build 24H2)

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Have you installed the Visual C++ Redistributable for Visual Studio 2015-2022? (or included the redistributable with your installer)

Latest supported Visual C++ Redistributable downloads | Microsoft Learn

 

Do you have the libraries described in this topic in the correct location relative to the application? 

Deployment | ArcGIS Maps SDK for .NET | Esri Developer

 

Thanks

0 Kudos
GKmieliauskas
Esri Regular Contributor

Hi,

Have you copied application from bin\release or used published content? You need to publish application from Visual Studio. Right click on project and select Publish menu item. Define publishing folder. After publishing copy publishing folder content. On other PC on startup you will be asked to download and install .NET version used in your application if it doesn't exist.

0 Kudos
NtsMarkMoore
New Contributor

We are experiencing this issue in our deployment directory.  Everything works fine for our application in Visual Studio, but as soon as we deploy (to a network drive) and I start testing from that network drive, I get the above error.  But if I copy the deployment directory to a local drive, it works fine.

 

This is what is in Event Viwer:

Application: Nts.Suite.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.DllNotFoundException at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.CoreRT_ArcGISRuntimeEnvironment_setInstallDirectory(System.String, IntPtr*) at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.SetInstallDirectory(System.String) at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.SetInstallPath(System.String) at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.TryInitialize() Exception Info: System.InvalidOperationException at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.TryInitialize() at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitNative() at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitializeRuntimeCore() at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.SetLicense(System.String) at Nts.Suite.ArcGISRegister.ValidateLicenseKey(System.String, System.Text.StringBuilder) at Nts.Suite.ArcGISKeyUpdate.ArcGISLicenseKeyUpdate_Load(System.Object, System.EventArgs) at System.EventHandler.Invoke(System.Object, System.EventArgs) at System.Windows.Forms.Form.OnLoad(System.EventArgs) at Telerik.WinControls.UI.RadFormControlBase.OnLoad(System.EventArgs) at Telerik.WinControls.UI.RadForm.OnLoad(System.EventArgs) at System.Windows.Forms.Form.OnCreateControl() at Telerik.WinControls.UI.RadFormControlBase.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef) at Telerik.WinControls.UI.RadFormControlBase.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

 

0 Kudos
dotMorten_esri
Esri Notable Contributor

Are you building for AnyCPU? Could you try explicitly building for x64 and turn off "Prefer 32-bit"? This changes the deployment of native libraries slightly which might improve the assembly loading.

0 Kudos