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

相关信息
Article ID: 45465
Bug Id: N/A
Software:
ArcGIS for Desktop Advanced 10.2, 10.1, 10.2.1, 10.2.2
ArcGIS for Desktop Basic 10.2, 10.2.1, 10.2.2, 10.1
ArcGIS for Desktop Standard 10.2.1, 10.1, 10.2, 10.2.2
ArcObjects SDK for Java Windows 10.1, 10.2, 10.2.1, 10.2.2
ArcObjects SDK for the Microsoft .NET Framework 10.1, 10.2, 10.2.2, 10.2.1
Platforms: N/A

问题描述
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 Assembly Cache folder and the previous version of the add-in might remain.

原因
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 Assembly Cache folder, located at:


C:\Users\xxxxxx\AppData\Local\ESRI\Desktop10.x\AssemblyCache



The AppData folder is hidden and the AssemblyCache folder is hidden and protected by default in Windows Explorer.
已邀请:

EsriSupport

赞同来自:

解决方案
Follow the steps below to resolve this issue.
  • Delete the older version of the add-in using the Add-In Manager. a. In ArcMap, go to Customize > Add-In Manager. b. Select the add-in. c. Click the 'Delete this Add-In' button. 


    • Close the current ArcMap session, and start a new ArcMap session.
    • Close the ArcMap session again. When this step completes, the previous version of the add-in is deleted from the Assembly Cache folder and the updated add-in is reflected in ArcMap.

    其它相关参考
    1. ArcGIS Help 10.2, 10.2.1, and 10.2.2: Sharing and installing add-ins
    2. Unable to remove an add-in folder path from the Add-in Manager in ArcMap


    创建及修改时间
    Created: 9/9/2015 Last Modified: 12/11/2015
    原文链接
    http://support.esri.com/en/kno ... 45465

    要回复问题请先登录注册