<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Old add-ins cached in ArcGIS 10.2, preventing updates in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256985#M1644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have recently been updating a custom AddIn for Arc10.2 and would like to understand the reasons behind an issue we are now encountering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to update an add-in, we normally would delete the old version from within ArcGIS and uninstall it from the computer before installing the new version. It would now appear that ArcMap 10.2 however, caches components of the old version in the Assembly Cache such that it is not properly removed when we uninstall the add-in, and when we install the new add-in ArcGIS still references the old files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, in order for our updates to take effect we have found that we also need to clear any old add-in content from the Assembly Cache before installing the new add-in. We did not find this to be an issue in previous versions of ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this behaviour? We would expect to be able to update add-ins by going through the normal delete/add process and should not have to access the Assembly Cache in the process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 10:04:28 GMT</pubDate>
    <dc:creator>RylandKarlovich</dc:creator>
    <dc:date>2015-02-05T10:04:28Z</dc:date>
    <item>
      <title>Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256985#M1644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have recently been updating a custom AddIn for Arc10.2 and would like to understand the reasons behind an issue we are now encountering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to update an add-in, we normally would delete the old version from within ArcGIS and uninstall it from the computer before installing the new version. It would now appear that ArcMap 10.2 however, caches components of the old version in the Assembly Cache such that it is not properly removed when we uninstall the add-in, and when we install the new add-in ArcGIS still references the old files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, in order for our updates to take effect we have found that we also need to clear any old add-in content from the Assembly Cache before installing the new add-in. We did not find this to be an issue in previous versions of ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this behaviour? We would expect to be able to update add-ins by going through the normal delete/add process and should not have to access the Assembly Cache in the process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256985#M1644</guid>
      <dc:creator>RylandKarlovich</dc:creator>
      <dc:date>2015-02-05T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256986#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After deleting an Add-In from ArcMap (using the Add-In Manager, or directly from the Well-Known folder), you will notice that the Add-In has been deleted from the Well-Known folder located at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;C:\Users\\Documents\ArcGIS\AddIns\Desktop10.2\&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Addin dll will still persist in the Assembly Cache located at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;C:\Users\YourUserName\AppData\Local\ESRI\Desktop10.2\AssemblyCache&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete the dll from here, you will need to &lt;STRONG&gt;close the current ArcMap Session, start a new session of ArcMap, and then close it again.&lt;/STRONG&gt; At that point, the Addin will be deleted from the Assembly Cache. It is upon this second closing of ArcMap that ArcGIS realizes that the Add-in is no longer available in the Well-Known folder.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 00:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256986#M1645</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-04-14T00:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256987#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sami, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the end user need to have any particular permissions to the AssemblyCache folder in order for this process to work? I'm having issues with old versions of the add-ins not being updated when I push new ones to network folders. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 18:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256987#M1646</guid>
      <dc:creator>MatSavage1</dc:creator>
      <dc:date>2015-05-18T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256988#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;The end user need not have elevated permissions to the Assembly Cache. If you could provide a detailed list of steps that you are following to "update" your add-ins in your network folder, that would be helpful in tracing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if the steps below are the ones you are following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps to Reproduce:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1- Created Add-in X in Visual Studio 2012.&lt;/P&gt;&lt;P&gt;2- Copied Add-in X to Network Folder&lt;/P&gt;&lt;P&gt;3- Double-clicked it to install it.&lt;/P&gt;&lt;P&gt;4- Add-in X&amp;nbsp; successfully installed.&lt;/P&gt;&lt;P&gt;5- Started ArcMap 10.2.2 and added Add-in X to a toolbar.&lt;/P&gt;&lt;P&gt;6- Uninstalled Add-in X using the Add-in Manager Dialog box.&lt;/P&gt;&lt;P&gt;7- Created Add-in Y in Visual Studio 2012.&lt;/P&gt;&lt;P&gt;8- Copied Add-in Y to our shared network Folder.&lt;/P&gt;&lt;P&gt;9- Double Clicked Add-in Y to install it.&lt;/P&gt;&lt;P&gt;10- Successfully installed.&lt;/P&gt;&lt;P&gt;11- Opened ArcMap.&lt;/P&gt;&lt;P&gt;12- The Add-in X button was still there in the Toolbar &lt;STRONG&gt;(???). It had not been deleted in step 6 above.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;13- Tried to look for Add-in Y in the Customize dialog box (under some component category)&lt;STRONG&gt; but could not find it (???). &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above steps do not accurately reflect what you are doing, then please copy/paste these into a new message, and Add/remove steps from the list describe what you are doing, step-for-step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 16:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256988#M1647</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-05-29T16:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256989#M1648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;1- Created Add-in X in Visual Studio 2012.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;2- Copied Add-in X to Network Folder which has been added as an Add-In folder in the options tab of the Add-in Manager (or alternately as a well-known folder via registry key)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;3- Open ArcMap and Add-in X works correctly&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;4- Modified Add-in X source code in Visual Studio 2012&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;5- Rebuild Add-in X in Visual Studio 2012 and update version numbers, etc&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;6- Replaced Add-in in the Network Folder&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;7- Close ArcMap&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;8- Open ArcMap and the Toolbar from Add-in X shows fine, but the button doesn't work&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;9- Check Add-In Manager and version number matches step 4&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;10- Check AssemblyCache and the dll from from Add-in X has not been updated (old time stamp and dll version number).&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;11. Manually deleting the dll and closing/reopening ArcMap solves the problem (it loads the dll correctly from the Add-In in the known folder).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 17:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256989#M1648</guid>
      <dc:creator>MatSavage1</dc:creator>
      <dc:date>2015-05-29T17:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256990#M1649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;Thanks for providing the detailed steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer the following questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- What &lt;STRONG&gt;version&lt;/STRONG&gt; of the ArcObjects SDK was the old Add-in built with? ArcGIS 10.1, for example?&lt;/P&gt;&lt;P&gt;2- Did you uninstall an older version of ArcGIS from your computer, and then install a newer version of ArcGIS? What is the newer version; 10.2.2 or 10.3? &lt;/P&gt;&lt;P&gt;3- So, you built an Add-in with, say Version 10.1, then opened it up on a computer with Version 10.2 or 10.3, correct?&lt;/P&gt;&lt;P&gt;4- Then you re-built it for the new version, after updating the version number in the Config file, and setting the project property, Specific Version, to false. Correct?&lt;/P&gt;&lt;P&gt;5- Before the 'new' Add-in is copied to the Network (Well-Known) folder, does the Assembly Cache contain the OLD Add-in dll? It is not clear how this would have happened considering that a newer version of ArcMap has just been installed on this computer. Please clarify on this.&lt;/P&gt;&lt;P&gt;6- Unless, I am totally misunderstanding the meaning you are attaching to the term "&lt;STRONG&gt;version&lt;/STRONG&gt;." Do you mean the Version of &lt;STRONG&gt;ArcGIS&lt;/STRONG&gt; or the Version of the &lt;STRONG&gt;Add-in&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 19:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256990#M1649</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-05-29T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256991#M1650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After thinking about your post for some time, I think I now understand what you are doing. You&amp;nbsp; are working in a single version of ArcGIS. The version you are referring to is the version of the Add-in, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested your workflow. Everything works as expected. I am working with ArcGIS 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps I am following:&lt;/P&gt;&lt;P&gt;1- I create a new Add-in.&lt;/P&gt;&lt;P&gt;2- Copy it over to a network Shared Folder&lt;/P&gt;&lt;P&gt;3- Open Add-in Manager in ArcMap, and through the Options tab, set the Well-Known folder&lt;/P&gt;&lt;P&gt;4- The Add-in shows up in the Component Category under the Customize Dialog box as expected. I Am able to add the Addin button to a toolbar in ArcMap and execute it. A message box shows up with some message.&lt;/P&gt;&lt;P&gt;5- Close ArcMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5- Then in Visual Studio 2012, I make a small change to the Add-in (for example, add a different message box message to simulate an Update to the Add-in).&lt;/P&gt;&lt;P&gt;6- Build the Add-in in Visual Studio.&lt;/P&gt;&lt;P&gt;7- Copy/Paste (replace old Add-in) the newly updated Addin file (*.esriaddinx file from the bin folder) to the Network folder. I make sure I overwrite the old file.&lt;/P&gt;&lt;P&gt;8- Open ArcMap and execute the existing Add-in button on the toolbar&lt;/P&gt;&lt;P&gt;9- The New Updated Message box shows up. This means the Addin was updated.&lt;/P&gt;&lt;P&gt;10- Expected behavior. No need to delete dll from the Assembly Cache to update the Add-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, I am not reproducing your issue. What version of ArcGIS are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256991#M1650</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-05-29T20:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256992#M1651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 10.2.2. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256992#M1651</guid>
      <dc:creator>MatSavage1</dc:creator>
      <dc:date>2015-05-29T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256993#M1652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Matt,&lt;/P&gt;&lt;P&gt;You are right. The workflow I describe in the pre-current post above does not work for ArcGIS 10.2.2. I would consider this a bug with respect to ArcGIS 10.2.2. In fact, the old Add-in does not auto-delete from the &lt;STRONG&gt;Assembly Cache&lt;/STRONG&gt; no matter what you do at version 10.2.2. The work flow I proposed at the beginning of this thread (closing and re-opening ArcMap at least twice to delete the dll from the Assembly Cache) does not seem to delete the add-in dll from the Assembly Cache at version 10.2.2. It, however, does work at version 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, one way to ensure that the Add-in does indeed update in ArcMap 10.2.2 without having to navigate to the Assembly Cache to delete the old Add-in is for you to first delete the old Add-in from the &lt;STRONG&gt;Well-Known folder&lt;/STRONG&gt; (your network Share folder). Once it is deleted from the Well-Known folder, start ArcMap and ensure that the Old Add-in is indeed gone, meaning, you do not have access to the button in Customize mode any more -- it does not show up in the Component Category. After ensuring that it is gone from ArcMap, copy/paste the &lt;STRONG&gt;NEW&lt;/STRONG&gt; updated Add-in (the *.esriAddinx file)&amp;nbsp; into the Well-Known folder (the network Share folder). If you open ArcMap and try to use this new Add-in button, you will indeed see the updated Add-in behavior. This is the only work around I can think of that would eliminate the need for you to have to access your Assembly Cache to delete an Old Add-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 23:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256993#M1652</guid>
      <dc:creator>seria</dc:creator>
      <dc:date>2015-05-29T23:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256994#M1653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for looking into this and verifying it for me, Sami. I'm happy to hear that it will not be a problem at 10.3! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 16:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256994#M1653</guid>
      <dc:creator>MatSavage1</dc:creator>
      <dc:date>2015-06-03T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256995#M1654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still have this problem with 10.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\&amp;lt;user id here&amp;gt;\AppData\Local\ESRI\Desktop10.3\AssemblyCache is updated with the new version of the the add-in from the well-known location but the old version is not removed from the cache, this results in two versions of the Add-in being displayed in ArcGIS Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supposedly if you including the .esriAddIn at your well known file location (along with the .config and .dll file we created) force ArcMap to updated/refersh the Add-in if the information in the esriAddIn file indicts that it is newer that what is cached in the AccemblyCache? When Add-in's were first released I thought that was the intent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve your problem delete all files from C:\Users\&amp;lt;user id here&amp;gt;\AppData\Local\ESRI\Desktop10.3\AssemblyCache, also in your new Add-In ensure you update the build date and version number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 17:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256995#M1654</guid>
      <dc:creator>RichardDaniels</dc:creator>
      <dc:date>2016-08-01T17:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Old add-ins cached in ArcGIS 10.2, preventing updates</title>
      <link>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256996#M1655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although this is an old post, I thought I was hitting the same problem in 10.4 for an add-in. &amp;nbsp;I was changing the python code and making a new .esriaddin file with makeaddin.py, yet the changes were not reflected. &amp;nbsp;It was not a cache problem, rather it was me not reinstalling the updated esriaddin. &amp;nbsp;After you make the .esriaddin file, you must double-click on it to execute the installation wizard. &amp;nbsp;This registers and makes a copy of your updated .esriaddin file to where ArcMap looks for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you skip the last step, you run the old python code. &amp;nbsp;You can verify this by searching for your&amp;nbsp;.esriaddin file, you will find two files. &amp;nbsp;The one that ArcMap looks at is in the directory&lt;/P&gt;&lt;P&gt;C:\Users\&amp;lt;User&amp;gt;\Documents\ArcGIS\AddIns\Desktop10.4\{832e6995-0daa-48aa-940f-0b6a04e3a5fe} or similar&lt;/P&gt;&lt;P&gt;and is copied there by the installation utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to test changed python code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Save the python code (.py) file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;Run makeaddin.py&lt;/STRONG&gt; &amp;nbsp;(which writes the local .esriaddin file, but not the one ArcMap looks at)&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;Double-click on the .ersiaddin file&lt;/STRONG&gt; to invoke the add-in installation utility and install&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Step 3 was missing in the ESRI docs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct version will be available in ArcMap, &amp;nbsp;When debugging, remember to open the ArcMap Python console to see any python code errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 21:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/old-add-ins-cached-in-arcgis-10-2-preventing/m-p/256996#M1655</guid>
      <dc:creator>DanielBean</dc:creator>
      <dc:date>2017-05-26T21:41:07Z</dc:date>
    </item>
  </channel>
</rss>

