Select to view content in your preferred language

Esri.ArcGISRuntime.ArcGISRuntimEnvironment.InstallPath

4922
22
07-12-2021 10:26 AM
TroyAvery1
Emerging 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
22 Replies
SomeGISGuy
Occasional Contributor

ARM64 isn't supported in 100.15 for Windows Desktop (you need 200.x for that), so make sure they don't execute as ARM64.
You could try forcing the runtime identifier:
There's a vstest parameter that sets the architecture to run as. 

0 Kudos
JeremyBridges
Frequent Contributor

Found a solution! Looks like all I had to do was add a PlatformTarget to the unit test project (see attached screenshot of the unit test project's csproj). Then, the proper runtimes folder is used! Thanks for the pointers, Morten. Helpful as always!

0 Kudos
dotMorten_esri
Esri Notable Contributor

Just following up on this: The reason you weren't seeing InstallPath in the assembly but in the doc, was that the doc was showing the .NET Framework version, and not the .NET Core version which uses a very different built-in mechanism for loading native runtimes. The doc site got updated with U12 so you can switch between all supported target frameworks, and there's also a table showing which platforms a given member is available on. (expand the "applies to" table here: https://developers.arcgis.com/net/api-reference/api/netfx/Esri.ArcGISRuntime/Esri.ArcGISRuntime.ArcG... )

0 Kudos