laptop and a wrench

Bogue

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

Dernière publication: February 25, 2016 ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000094145
EnvoiFebruary 11, 2016
Dernière modificationJune 11, 2020
S’applique àArcGIS Pro SDK for .NET
Version trouvéeN/A
Système d’exploitationWindows
Version du système d’exploitation7.0 64 Bit
StatutIn Review

Solution de contournement

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();

Étapes pour reproduire

ID de bogue: BUG-000094145

Logiciel:

  • ArcGIS Pro SDK for .NET

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement