abridle

Deploying Add-In using a third party dll

Discussion created by abridle on Nov 21, 2012
Latest reply on Oct 19, 2013 by chris.ewing.ab
I've written a C# Add-In for ArcMap 10.0 that references a third party dll (in this case the Oracle ODP.NET, Managed Driver Beta (11.2.0.3.50) http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html)

It works fine on the development machine the only problem I'm having is with the deployment.

I've checked the install folder of my compiled Add-In and it does contain the Oracle.ManagedDataAccess.dll. Which I thought would be enough for Arcmap to locate it.

However when I run the Add-In on the deployed machine I get the message:
Unable to find assembly 'Oracle.ManagedDataAccess .....'

I have found that I can get it to work by placing a copy of the dll into
C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin

The whole attraction of Add-Ins for me is the lightweight deployment and lack of admin rights required to install so I'd really like to figure out a way to get this to work without additional config outside of the Add-In installer. Any Ideas?

Outcomes