Esri.ArcGISRuntime.ArcGISRuntimEnvironment.InstallPath

243
2
07-12-2021 10:26 AM
TroyAvery1
New Contributor

Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0

https://developers.arcgis.com/net/wpf/api-reference/html/P_Esri_ArcGISRuntime_ArcGISRuntimeEnvironme...

Has anyone noticed that the documentation lists "InstallPath" as a property, but the assembly decomposition does not show it?

(Assembly Esri.ArcGISRuntime, Version=100.11.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86)

Is the runtime still capable of shared deployments?

We run our deployment pointing to a shared location for a couple of different applications.

0 Kudos
2 Replies
dotMorten_esri
Esri Frequent Contributor

I'm assuming you're targeting .NET Core/.NET 5 and not .NET Framework? Unfortunately our documentation doesn't show doc for both (we're actively working on that - stay tuned!), but the property is only available with .NET Framework, since there's now a newer better way to load native libraries dynamically than .NET Framework provided.


If you can share your scenario for setting this property, I can help provide you with some equivalent code in .NET Core / NET 5.

TroyAvery1
New Contributor

Yes, this is part of a transition for a .NET Framework to .NET 5

Our previous usage was fairly simple, we created an installer for the shared items and then in the consuming application before we begin using the runtime we set the InstallPath to where the shared installation is.

0 Kudos