laptop and a wrench

Bug

The 'Add Service Reference' feature for an ArcGIS Pro add-in does not recognize the classes associated with the service.

Last Published: February 25, 2016 ArcGIS Pro SDK for .NET
Bug ID Number BUG-000094145
SubmittedFebruary 11, 2016
Last ModifiedJune 11, 2020
Applies toArcGIS Pro SDK for .NET
Version foundN/A
Operating SystemWindows
Operating System Version7.0 64 Bit
StatusIn Review

Workaround

Use 'Add Web Reference' in the Visual Studio project as follows: 1. Right-click the project name in Solution Explorer > Add > Service Reference. 2. In the Add Service Reference dialog box, click 'Advanced...', and click 'Add Web Reference' at the bottom of the Service Reference Settings dialog. 3. Enter the URL, and click the right arrow next to the text box. 4. Click 'Add Reference', and add the reference in the project as: using ProAppModule1.com.arcgisonline.sampleserver6; 5. In the OnClick event of the button, add: Census_MapServer test = new Census_MapServer(); int mapcount = test.GetMapCount();

Steps to Reproduce

Bug ID: BUG-000094145

Software:

  • ArcGIS Pro SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options