<?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: How to get a 3rd party .net lib into esriaddin in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708776#M18953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernie,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you had any luck figuring this out? I am facing the same issue now and &amp;nbsp;would appreciate advices from you. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 16:38:33 GMT</pubDate>
    <dc:creator>AhjungKim4</dc:creator>
    <dc:date>2016-10-11T16:38:33Z</dc:date>
    <item>
      <title>How to get a 3rd party .net lib into esriaddin</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708775#M18952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have built a nifty add-in for &lt;EM&gt;ArcMap 10.2.2&lt;/EM&gt; that depends on &lt;EM&gt;CefSharp&lt;/EM&gt;, a Chromium browser implementation in .net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/cefsharp/CefSharp" title="https://github.com/cefsharp/CefSharp"&gt;GitHub - cefsharp/CefSharp: .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CefSharp depends on a series of files that need to be copied into the distribution, i.e. the .esriaddin file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These files are of diverse types, see a list here: &lt;A href="https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-(Redistribution)" title="https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-(Redistribution)"&gt;Output files description table (Redistribution) · cefsharp/CefSharp Wiki · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We managed to copy the files into the esriaddin by setting them to Content | Copy always - when we look into the esriaddin all files are there but it seems they cannot be loaded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying the files into the bin folder of ArcMap helps but it is not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thought is welcome, do we need special Build Actions for different file types ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Bernie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 11:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708775#M18952</guid>
      <dc:creator>BernhardSnizek</dc:creator>
      <dc:date>2016-05-27T11:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a 3rd party .net lib into esriaddin</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708776#M18953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernie,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you had any luck figuring this out? I am facing the same issue now and &amp;nbsp;would appreciate advices from you. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 16:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708776#M18953</guid>
      <dc:creator>AhjungKim4</dc:creator>
      <dc:date>2016-10-11T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a 3rd party .net lib into esriaddin</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708777#M18954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri copies the AddIn into an Esri-self-handled sort of Assembly Cache. IMHO: Any "non DLL" data that is enclosed by the given AddIn-Zip will not be available to the caller directly.&lt;/P&gt;&lt;P&gt;When I stumbled upon that issue I introduced the file that I needed later as "resources" into one of the assemblies from my AddIn and loaded them by using the "Assembly.GetManifestResourceStream" method from System.Reflection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe that can help in your case? I assume that your "CefSharp" instance needs them instantly? Maybe create a wrapper around that 3rd party component and preload the required files as resources from your assembly and place them into their dedicated spot then just before you make use of your 3rd party component...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 08:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-a-3rd-party-net-lib-into-esriaddin/m-p/708777#M18954</guid>
      <dc:creator>KarlHuber</dc:creator>
      <dc:date>2016-10-17T08:17:42Z</dc:date>
    </item>
  </channel>
</rss>

