laptop and a wrench

Bogue

Add-in projects developed in Visual Studio 2010 and ArcObjects .NET 10.1 does not generate the add-in file on Visual Studio 2012 on ArcObject .NET 10.2

Dernière publication: October 9, 2017 ArcGIS for Desktop
Numéro d’ID de bogue NIM095643
EnvoiOctober 9, 2013
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.2
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitation2012 64 Bit
StatutKnown Limit

Informations supplémentaires

Users must manually change the .csproj file to reference the appropriate targets file as follows: 1. Open the .csProj file in any text editor 2. Search for the tag 3. Replace the entire tag with the below tag - 4. Save the file and build the solution in VS2012. You will see the add-in file has been generated. Note: This will also be the case going from VS2012 to VS2013 at ArcObjects 10.3.

Solution de contournement

1. Open the .cProj file in Notepad or any text editor.2. Search for the <Import project> tag.3. Replace the entire tag with the tag below: <Import Project="$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets" Condition="Exists('$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets')" />4. Save the file and build the solution in Visual Studio 2012. The add-in file has been generated.

Étapes pour reproduire

ID de bogue: NIM095643

Logiciel:

  • ArcGIS for Desktop

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