Esri / arcgis-maps-sdk-dotnet-samples

Sample code for ArcGIS Maps SDK for .NET – WPF, WinUI, .NET MAUI
Apache License 2.0
414 stars 518 forks source link

Analyze Viewshed Sample #1083

Closed shehab-github closed 2 years ago

shehab-github commented 2 years ago

The GP service type is Asynchronous, however in the source code it's SynchronousExecute so it raises error.

https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/main/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Geoprocessing/AnalyzeViewshed/AnalyzeViewshed.xaml.cs Line: 132,133

ZackAllen commented 2 years ago

Thank you for reporting this!

https://github.com/Esri/arcgis-runtime-samples-dotnet/pull/1085 PR is in with a fix. This will be fixed in main this week.

shehab-github commented 2 years ago

Great, Thanks.