Call to ArcGISRuntimeEnvironment.SetLicense throws an exception.

172
1
11-27-2023 10:33 AM
Labels (1)
DagHeggelund
New Contributor

When I call sri.ArcGISRuntime.ArcGISRuntimeEnvironment.SetLicense(licenseString);
The result is Exception thrown: 'System.InvalidOperationException' in WinRT.Runtime.dll

Please advice.

0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor

 Are you also seeing this if you just call ArcGISRuntimeEnvironment.Initialize() ?
If so it's most likely an issue with the native libraries not getting deployed.
What is your platform and target framework?

0 Kudos