<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deploying Add-In using a third party dll in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459184#M12443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had the same problem with the ionic.dll (for zipping and extracting) in an addin that we developed. The answer seems to be that you need to double-click the addin to register it (and all it's bundled dlls). The error message we had about the missing dll disappeared when the addin was registered properly. (you can also use esriregaddin.exe to register it too). Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Oct 2013 20:36:36 GMT</pubDate>
    <dc:creator>ChrisEwing1</dc:creator>
    <dc:date>2013-10-19T20:36:36Z</dc:date>
    <item>
      <title>Deploying Add-In using a third party dll</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459181#M12440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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) &lt;/SPAN&gt;&lt;A href="http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html"&gt;http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine on the development machine the only problem I'm having is with the deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I run the Add-In on the deployed machine I get the message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to find assembly 'Oracle.ManagedDataAccess .....'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found that I can get it to work by placing a copy of the dll into &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459181#M12440</guid>
      <dc:creator>AndyBridle</dc:creator>
      <dc:date>2012-11-21T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Add-In using a third party dll</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459182#M12441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Didn't try but in VS add this Oracle.ManagedDataAccess.dll reference by browse. Set Copy to output directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Verify if it runs ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks to me that is t should work, like with log4net.dll &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't deploy your AddIn by AddInManager but, by hand, by copying it in well known locations like C:\Program Files\ArcGIS\Desktop10.0\Bin\Addins\ with Oracle.ManagedDataAccess.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try and let us know does it hold water.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards Dubravko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 12:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459182#M12441</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2012-11-21T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Add-In using a third party dll</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459183#M12442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same result when copying the Add_in to a well known folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried with the dll included within the add-in's install folder, in the add-in's top level and sat alongside it and in each case Arcmap fails to locate it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However moving it to C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin and it finds it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 15:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459183#M12442</guid>
      <dc:creator>AndyBridle</dc:creator>
      <dc:date>2012-11-21T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Add-In using a third party dll</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459184#M12443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had the same problem with the ionic.dll (for zipping and extracting) in an addin that we developed. The answer seems to be that you need to double-click the addin to register it (and all it's bundled dlls). The error message we had about the missing dll disappeared when the addin was registered properly. (you can also use esriregaddin.exe to register it too). Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 20:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploying-add-in-using-a-third-party-dll/m-p/459184#M12443</guid>
      <dc:creator>ChrisEwing1</dc:creator>
      <dc:date>2013-10-19T20:36:36Z</dc:date>
    </item>
  </channel>
</rss>

