PROBLEM

Changes are not made to updated versions of an add-in installed in ArcMap

Last Published: April 26, 2020

Description

When changes are made to an add-in, and the new version of the add-in is installed in ArcMap, the new version is displayed in the Add-In Manager. However, the changes might not get updated in the dynamic link libraries (DLLs) located in the AssemblyCache folder, and the previous version of the add-in might remain.

Cause

Add-ins automatically unpack the install folder's contents to a temporary folder called AssemblyCache. This issue occurs because the AssemblyCache folder does not recognize the updated version of the add-in, and the previous version of the add-in remains cached in the AssemblyCache folder, located at:
 

C:\Users\xxxxxx\AppData\Local\ESRI\Desktop10.x\AssemblyCache
 
Note:
The AppData folder is hidden and the AssemblyCache folder is hidden and protected by default in Windows Explorer.

Solution or Workaround

Follow the steps below to resolve this issue.
  1. Delete the older version of the add-in using the Add-In Manager.
    1. In ArcMap, go to Customize > Add-In Manager.
    2. Select the add-in.
    3. Click the Delete this Add-In button.
Image of the Add-In Manager dialog box
 
Note:
The add-in can also be deleted directly from the add-in folder, located at:
C:\Users\xxxxxx\Documents\ArcGIS\AddIns\Desktop10.x\
  1. Close the current ArcMap session, and start a new ArcMap session.
  2. Close the ArcMap session again. When this step completes, the previous version of the add-in is deleted from the AssemblyCache folder, and the updated add-in is reflected in ArcMap.

Article ID:000012616

Software:
  • ArcMap
  • ArcObjects SDK Microsoft NET Framework
  • ArcObjects SDK for the Java Platform

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic