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