laptop and a wrench

Bug

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

Last Published: October 9, 2017 ArcGIS for Desktop
Bug ID Number NIM095643
SubmittedOctober 9, 2013
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.2
Program languageC#
Operating SystemWindows OS
Operating System Version2012 64 Bit
StatusKnown Limit

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: NIM095643

Software:

  • ArcGIS for Desktop

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