Can't find ESRI.ArcGIS.DataManagementTools

1074
2
Jump to solution
09-26-2017 01:28 PM
ShaneBrennan
New Contributor III

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).

0 Kudos
1 Solution

Accepted Solutions
FrédéricPRALLY
Esri Contributor

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

View solution in original post

2 Replies
FrédéricPRALLY
Esri Contributor

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

ShaneBrennan
New Contributor III

That worked, thanks! I was trying to add the reference in the usual manner and it wouldn't show for some reason.

0 Kudos