I am using ArcGIS Runtime SDK for .Net to develop a WPF App which is trying to demonstrate how to perform geoprocessing tasks using Local Server by duplicating the code from ArcGISRuntime.WPF.Viewer and making necessary changes in the code.
After debugging I get a exception message "geoprocessing service failed to start."
I have installed all the necessary references and SDKs and nuget packages as well.
I am attaching the XAML and C# code files as well.
Please let me know what am I not doing right to get the app started.