TransWikia.com

Lost ArcMap Add-in Toolbar Built with ArcObjects SDK in .NET and Problem with AssemblyCache folder and ArcGIS Cache Manager

Geographic Information Systems Asked on November 14, 2021

Our organization manages an ArcMap 10.6.1 add-in written using the ArcObjects SDK for .NET Framework 4.7.2. We publish the add-in file to a server folder. We edited the registry to make ArcMap look for the add-in in the server folder.

REG ADD HKLMSoftwareWOW6432NodeESRIDesktop10.6SettingsAddInFolders /v "server_path_to_add_in_file" /t REG_SZ

The problem is that a handful, but not most, user machines lose the toolbar in ArcMap every time we publish an updated add-in to the server folder, and the user has to either reboot their machine or ctrl-alt-delete and find the ArcGIS Cache Manager and end that task to regain their toolbar.

TaskManager-ArcGisCacheManager

I have read extensively about this problem:

  1. https://community.esri.com/thread/121214#comment-625142
  2. https://support.esri.com/en/technical-article/000012616
  3. ArcMap Add-In Not Updating To Latest Version
  4. https://community.esri.com/thread/117694

Interestingly, I see mixed results among users with their AssemblyCache folders (C:UsersUserNameAppDataLocalESRIDesktop10.xAssemblyCache). The add-in is associated with a GUID, and the folder name for the add-in in the AssemblyCache folder is that GUID. One user’s AssemblyCache{GUID} folder updates to contain the latest dlls, and another user’s folder is completely empty, always, before or after an update to the add-in.

I would like more information about this problem. Even better, I would like to know if there is an ESRI or Windows setting that can be changed to address this problem, or if that is not an option, is there a way to automate ending the ArcGIS Cache Manager task using ArcObjects inside the source code for our add-in?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP