Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've been compiling and debugging my Add-In (a toolbar with a few menus, custom commands, custom selection tool and a context shortcut menu) with no issues until suddenly the edits and changes I do in Visual Studio are reflected in the Add-In. There are no errors and compile success. I first noticed this when I was wanting to debug but application was ignoring new edits and additions. The Add-In is still there but some commands don't seem to not respond to current changes.

What am I doing wrong?

share|improve this question
    
I have the same problem..... I find the folder C:\Documents and Settings\<username>\My Documents\ArcGIS\AddIns\Desktop10.0 but but the C:\Documents and Settings\<username>\Local Settings\Application Data\ESRI\Desktop10.0\AssemblyCache\ does not exist. I am using Eclispe, Java and Windows Xp SP2 –  user3032 May 19 '11 at 20:14
add comment

1 Answer

up vote 8 down vote accepted

I had a similar issue to this and resolved it by deleting the corresponding cache directory for my add-in:

C:\Documents and Settings\<username>\Local Settings\Application Data\ESRI\Desktop10.0\AssemblyCache\

10.1 on Windows7:
%LOCALAPPDATA%\ESRI\Desktop10.1\AssemblyCache will take you to:
C:\Users\<UserName>\AppData\Local\ESRI\Desktop10.1\AssemblyCache

I also have in my notes to check this directory, but I don't recall if that was for while I was debugging in Visual Studio or just normal troubleshooting. :
c:\Documents and Settings\<username>\My Documents\ArcGIS\AddIns\Desktop10.0
If the AddIn that you are debugging exists here, try deleting it here.


Update

I knocked one of my add-ins and debugged. It does create a directory in My Documents\ArcGIS\AddIns\Desktop10.0 for debugging, which is unpacked to the AssemblyCache directory.

share|improve this answer
1  
Awesome!! Thanks Jay. One little tidbid i'd like to add is that it is not enough to show hidden files "Hide protected operating system files" must also be turned off. –  Jakub Nov 17 '10 at 17:29
    
    
Seems that this is a remedy for all problems... Seems to also fix if breakpoints stop working "Breakpoint will not currently be hit. No symbols loaded for this document." –  Jakub Nov 17 '10 at 19:12
    
I'll add that on Windoze7 you can find the AssemblyCache dir at C:\Users\<username>\AppData\Local\ESRI\Desktop10.0\AssemblyCache, so long as you are viewing hidden and system files/folders. –  Chad Cooper Apr 27 '11 at 18:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.