Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing an addin with a button that tries to do coordinate transformation using GDAL OSR. When I create a new CoordinateTransformation object ArcMap crashes and close. If a debug against a debug osr_csharp.dll I can see that CoordinateTransformation object is throwing an exception with this message: Unable to load PROJ.4 library (proj.dll), creation of\nOGRCoordinateTransformation failed. I have checked the addin file unziping it and I can see it contains the proj.dll and all the dependencies that osr_csharp.dll should have.

The rare thing is that the same code executed inside an EXE project works without problem. Where is ArcGIS deploying addins? I cannot see the folder where ArcGIS is supposed to be uncompressing the addin file?

Any ideas on this type of fail?

Thanks in advance

share|improve this question
"Don't cross the streams..." – DavidF Nov 6 '12 at 19:23
I don't have my ArcMap machine right now but I think debugged add-ins might be extracted to C:\Users\<name>\Local Settings\ESRI\DesktopX.X\AssemblyCache. Also, count your blessings - my ArcMap 10.1 crashes before it even loads :( – tomfumb Nov 6 '12 at 19:24
Thanks for the hint. The path is like that more or less. I have found it in C:\Users\<username>\AppData\Local\ESRI\Desktop10.1. – JHer Nov 7 '12 at 10:15
A colleague has found for me that the AssemblyCache is hidden because it is marked as system file, so it is needed to uncheck the option to hide system files in folder tools. Now I can see the content of may addin as it is unzipped. And I can ensure that all dependencies in my addin are added. So still my problem persists... – JHer Nov 7 '12 at 10:17

Your Answer


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

Browse other questions tagged or ask your own question.