I'm trying to update a project using ArcObjects 10.0 to 10.4.1. I'm having trouble at this line in the code:
ESRI.ArcGIS.DataManagementTools.CreateRandomPoints CreateRandomPointsTool = new CreateRandomPoints();
This namespace doesn't appear to exist anymore. Have geoprocessing tools moved somewhere else? Also, I'm confused because this page: GitHub - Esri/arcobjects-sdk-community-samples: This repository contains ArcObjects SDK Samples for ... shows a lot of sample code that uses that namespace, despite the page being labelled as 10.4.1 examples (and 10.5 elsewhere on the same page).
Solved! Go to Solution.
Hi Shane,
Maybe from VS project go to Add ArcGIS reference > Reference > Choose Engine (core) > you can find Esri .AcGIS.DsataManagementsTools.
Hope this help you,
Fred
Hi Shane,
Maybe from VS project go to Add ArcGIS reference > Reference > Choose Engine (core) > you can find Esri .AcGIS.DsataManagementsTools.
Hope this help you,
Fred
That worked, thanks! I was trying to add the reference in the usual manner and it wouldn't show for some reason.