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.

Zuletzt veröffentlicht: February 25, 2016 ArcGIS Pro SDK for .NET
Bug-ID-Nummer BUG-000094145
EingereichtFebruary 11, 2016
Zuletzt geändertJune 11, 2020
Gilt fürArcGIS Pro SDK for .NET
Gefunden in VersionN/A
BetriebssystemWindows
Betriebssystemversion7.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();

Schritte zur Reproduzierung

Bug-ID: BUG-000094145

Software:

  • ArcGIS Pro SDK for .NET

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln