laptop and a wrench

Error

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

Última publicación: February 25, 2016 ArcGIS Pro SDK for .NET
Número de ID del error BUG-000094145
EnviadoFebruary 11, 2016
Última modificaciónJune 11, 2020
Relacionado conArcGIS Pro SDK for .NET
Versión encontradaN/A
Sistema operativoWindows
Versión de sistema operativo7.0 64 Bit
EstadoIn Review

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000094145

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga