Run Geoprocessing tool with ArcGIS Pro 3 .NET SDK in CoreHost app

922
2
Jump to solution
02-01-2023 07:26 PM
SteveK53
New Contributor

Hi

I've installed the necessary dlls (mentioned here Esri/arcgis-pro-sdk: ArcGIS Pro SDK for Microsoft .NET is the new .NET SDK for the ArcGIS Pro Applic...) and been following the code snippets to execute a geoprocessing tool (mentioned here arcgis-pro-sdk/ProSnippets.cs at master · Esri/arcgis-pro-sdk (github.com)) but I'm getting the following error in my .NET ArcGIS Pro CoreHost Console Application:

System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.

This is not one of the libraries mentioned in the previously mentioned docs. How do I solve this error so I can run a geoprocessing tool in an ArcGIS Pro 3 core host app?

Thankyou

0 Kudos
1 Solution

Accepted Solutions
Aashis
by Esri Contributor
Esri Contributor
2 Replies
Aashis
by Esri Contributor
Esri Contributor

Please see Rich's answer in another thread. It is still valid for Pro 3.0

SteveK53
New Contributor

Thanks @Aashis. Is there a roadmap with this on we can see or a place we can upvote getting this functionality added?

0 Kudos