<?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: Where to install AddIn referenced DLL's? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789907#M1457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I am unable to deploy my solution in VM. its not giving me any error but my dockpane doesn't display anything. It just comes with blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my development machine it all works fine only in VM where Arcgis pro was installed it is having this issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied my thrid party dlls into the folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;C:\Program Files\ArcGIS\Pro\bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have also&amp;nbsp;&lt;SPAN&gt;set “Copy to local” to True. in VS.&amp;nbsp; I am unable to find where the issue could be. I have also added logging functionality and its not even coming to my logging code and I am not sure what I am missing.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Having dockpane as blank is something I am unable to debug. Can someone please help me on this??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2019 02:35:17 GMT</pubDate>
    <dc:creator>NareshNagandla</dc:creator>
    <dc:date>2019-10-16T02:35:17Z</dc:date>
    <item>
      <title>Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789898#M1448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My AddIn is referencing another own component.&amp;nbsp;All DLL's are installed in one configured Add Ins folder. But Arc Pro crashes that way! I have found out working folder, but I suppose it must be more professional?&lt;BR /&gt;C:\Users\*\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{GUID}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789898#M1448</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2018-10-09T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789899#M1449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your AddIn is zip file package which includes all referenced dlls. To add&amp;nbsp; them automatically to zip in Visual Studio AddIn project dll reference properties&amp;nbsp;set Copy to local property to True.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 11:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789899#M1449</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-10-11T11:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789900#M1450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Thank you for reply but copying Add-In referenced DLL’s to configured Add-Ins folder causes Arc Pro to &lt;STRONG&gt;crash&lt;/STRONG&gt; while invoke to run further referenced code as on Add-In itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;I am searching for an &lt;STRONG&gt;appropriate folder&lt;/STRONG&gt; to debug and deploy any (not ArcGIS) DLL’s which are referenced by a custom Pro Add-In. Following there are some scenarios to place further referenced DLL’s evaluated with actual version ArcGIS Pro 2.2.3. Actually I tend to use ArcGIS Pro Extensions folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; background: white; font-size: 11.5pt;"&gt;Does not work (crash):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Add-In Manager configured Add-Ins folder e.g. D:\my disk\Pro\Test&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Well known folder e.g. C:\Users\*\Documents\ArcGIS\AddIns\ArcGISPro&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Works, but not appropriate&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Add-In working folder e.g. C:\Users\*\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{GUID}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;GAC folder C:\Windows\Microsoft.NET\assembly\GAC_MSIL&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Works, maybe appropriate?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background: white; font-size: 11.5pt;"&gt;ArcGIS Pro Extensions folder C:\Program Files\ArcGIS\Pro\bin\Extensions&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 17:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789900#M1450</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2018-10-11T17:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789901#M1451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roman,&lt;/P&gt;&lt;P&gt;We have solution with 11 projects. Some of them have  AddIns, some of them are helpers. All application works fine in folder C:\Program Files\xxxxxxxx.&lt;/P&gt;&lt;P&gt;At first you need to clean up all copies of referenced dll from disk. After that each reference of your additional library you need to set “Copy to local” to True.&lt;/P&gt;&lt;P&gt;Your library must be in the same solution as your AddIn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next thing you need to setup project dependencies using “Building dependencies- Project dependencies”. Check each library your AddIn uses. Now each time when you build your project, your additional libraries will be built too.&lt;/P&gt;&lt;P&gt;There is one problem with debugging. You can’t go from library to library and back, because your AddIn takes library not from your solution, but from AddIn zip file. So you can debug only StartUp project. Each time you change your additional library code, you need to go and rebuild your AddIns which uses additional library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check is your additional library is included to AddIn , rename xxxx.esriAddinX to xxxx.zip file and check its content with your archiving software or go to AddIns folder, locate folder where your AddIn dll is stored and check if your additional dll library is stored in the same folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 05:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789901#M1451</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-10-12T05:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789902#M1452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gintautas,&lt;/P&gt;&lt;P&gt;Thank you for your extensive elucidations! I hope it helps some developers. For me there is no problem with additional libraries container because everything works at some special folders as described earlier. I am also aware to take care of actual version for debugging. My question has more .NET deploy nature on how to make configured Pro Add-Ins folder, well known folder or any other folder e.g. C:\Program Files\xxxxxxxx for not to crash ArcGIS Pro but to be known that way as C:\Program Files\ArcGIS\Pro\bin\Extensions does? I have .NET knowledge lack there and not unlimited time to search for the appropriate technique. My goal is to deploy package including additional libraries to Add-Ins folder as configured by ArcGIS Pro user without crash scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 08:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789902#M1452</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2018-10-12T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789903#M1453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am back on this path again trying to present my dilemma more accurate and clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additional library DLL’s reference property “Copy to local” cannot be set to True because some of my assemblies are late binding and therefore not listed as references on my Add-In. It is an optional entrance to a smart system with core components which serves not only ArcPro but ArcMap commands or other containers like GeoPackage as well. Dependent on the calling mode some different libraries are linked at run-time based on System.Reflection.Assembly.Load/LoadFrom function. For this case I intend to use the ArcPro extensions folder C:\Program Files\ArcGIS\Pro\bin\Extensions\* (this works well) or invoke additional .NET configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;On the other hand, I dislike copying all the same libraries for each of many Add-Ins to theirs working folder C:\Users\*\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{GUID} with “Copy to local” flag for current user and Add-In GUID.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 16:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789903#M1453</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2018-10-17T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789904#M1454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think AddIns technology is not very friendly for 3rd party big developments. There is another one problem with developing AddIns on ArcGIS Pro. It is AddIns resources. There is only one way to specify your own resources as relative path from ArcGIS Pro installation folder. I think we need support from Esri what is better way to develop big extensions on ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 05:42:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789904#M1454</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-10-18T05:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789905#M1455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try to use the&amp;nbsp;AppDomain.CurrentDomain.AssemblyResolve ResolveEventHandler.&lt;/P&gt;&lt;P&gt;Each time ArcGIS Pro would try to resolve an assembly for your addin, it would be fired.Off course you'll need a way to identify if your loading a 'standard' ESRI library or own of your other third party dlls. Because for the first case you should let it go through the default logic. In the second case you could try to load it from a specific path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might get you started:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/9180638/working-with-appdomain-assemblyresolve-event" title="https://stackoverflow.com/questions/9180638/working-with-appdomain-assemblyresolve-event"&gt;c# - Working with AppDomain.AssemblyResolve event - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this implementation should happen at the very first 'addin' loading. In other words: where you implement the&amp;nbsp; ArcGIS.Desktop.Framework.Contracts.Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 10:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789905#M1455</guid>
      <dc:creator>BartVan_Hoecke</dc:creator>
      <dc:date>2018-10-26T10:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789906#M1456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I guess my ArcPro AddIn referencing other DLLs (partly late binding) needs additional code to work on any folder specified by a user. It is another concept as I am familiar using ArcMap command. Thank you, Bart!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789906#M1456</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2018-10-29T09:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789907#M1457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I am unable to deploy my solution in VM. its not giving me any error but my dockpane doesn't display anything. It just comes with blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my development machine it all works fine only in VM where Arcgis pro was installed it is having this issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied my thrid party dlls into the folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;C:\Program Files\ArcGIS\Pro\bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have also&amp;nbsp;&lt;SPAN&gt;set “Copy to local” to True. in VS.&amp;nbsp; I am unable to find where the issue could be. I have also added logging functionality and its not even coming to my logging code and I am not sure what I am missing.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Having dockpane as blank is something I am unable to debug. Can someone please help me on this??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 02:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789907#M1457</guid>
      <dc:creator>NareshNagandla</dc:creator>
      <dc:date>2019-10-16T02:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789908#M1458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to put all your components to the sub-folder of ArcPro extensions C:\Program Files\ArcGIS\Pro\bin\Extensions\[Test].&lt;BR /&gt;Another convenient approach may be found using&amp;nbsp;GAC.&lt;BR /&gt;For deploy purposes I've preferred any configurable Add-In folder.&lt;/P&gt;&lt;P&gt;For &lt;SPAN style="background-color: #ffffff;"&gt;thrid party or late binding dlls t&lt;/SPAN&gt;his may require to espouse the assemblies which were failed to load:&lt;/P&gt;&lt;P&gt;AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(MyResolveEventHandler);&lt;/P&gt;&lt;P&gt;private static System.Reflection.Assembly MyResolveEventHandler(object sender, ResolveEventArgs args)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.Reflection.AssemblyName MyAssemblyName = new System.Reflection.AssemblyName(args.Name);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;string AssemblyPath = [Add-In folder];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;string TargetPath = System.IO.Path.Combine(AssemblyPath, string.Format("{0}.dll", MyAssemblyName.Name));&lt;BR /&gt;&amp;nbsp; MyAssemblyName.CodeBase = TargetPath; //This alone won't force the assembly to load from here!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!System.IO.File.Exists(TargetPath))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// .NET is always searching for the satellite assemblies, even if they are not existing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// The AssemblyResolve event is also firing for a lof of resource DLLs which are not existing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// We have to use LoadFile here, otherwise we won't load a differing version, regardless of the codebase because only LoadFile&amp;nbsp;will actually load a *new* assembly if it's at a different path&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// See: http://msdn.microsoft.com/en-us/library/b61s44e8(v=vs.110).aspx&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return System.Reflection.Assembly.LoadFile(MyAssemblyName.CodeBase);&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789908#M1458</guid>
      <dc:creator>RomanTrojan</dc:creator>
      <dc:date>2019-10-16T09:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789909#M1459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;Try at first Esri sample with dockpane. If sample does not work on VM then write ticket to esri support.&lt;/P&gt;&lt;P&gt;Else check all libraries included in your dockpane xaml.&lt;/P&gt;&lt;P&gt;We  all libraries which use more than one Add-in add to GAC, all Add-ins put to special folder defined in ArcGIS Pro Add-ins manager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789909#M1459</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-10-16T09:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where to install AddIn referenced DLL's?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789910#M1460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest change the version number in your config.daml's&amp;nbsp;AddInInfo tag.&amp;nbsp; Use addin manager on your VM to verify that Pro is running the same addin version that works on your development machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you don't have Visual Studio on your VM in which case you have to add logging code to locate the source of your problems.&amp;nbsp; You said that not even your logging code is being executed?&amp;nbsp; Is your logging code working if you add a log entry to the Module class?&amp;nbsp; For example in the Current property?&amp;nbsp; Make sure that your module's autoload property is set to 'false'. If that works (i.e. logging code in the Current property) i would suggest to add Roman's Assembly Resolve handler to output any errors in the late binding to your logger.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an add-in that is using cefsharp.wpf which also uses late binding, without any problems.&amp;nbsp; However, depending on the 3rd party package you might have to configure the 'load' environment properly.&amp;nbsp; With cefsharp i had to add some code to configure the 'late binding load' environment for cefsharp.&amp;nbsp; The problem is that you don't know how your 3rd party loads its required dll or resources.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I your post above you say:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;Works, but not appropriate&lt;SPAN style="background: white; border: 0px; font-weight: inherit; font-size: 11.5pt; margin: 0px; padding: 0px;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px; padding: 0px;"&gt;&lt;SPAN style="background: white; border: 0px; font-weight: inherit; font-size: 11.5pt; margin: 0px; padding: 0px;"&gt;Add-In working folder e.g. C:\Users\*\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{GUID}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not knowing what your 3rd party library does,&amp;nbsp;I would suggest that using the 'add-in working folder' is actually an&amp;nbsp;'appropriate' implementation.&amp;nbsp; You can simply add all your 3rd party library dlls to your add-in project and make sure that the 3rd party dll's build action is set to 'Content' and 'Copy to Output' is set to Copy.&amp;nbsp; Now build your add-in and start ArcGIS Pro.&amp;nbsp; Once ArcGIS Pro starts it will update the "C:\Users\*\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{GUID}" folder and unzip the addin file's content in this folder and you should now see you 3rd party dlls in that folder.&amp;nbsp; It's possible that this will fix your problem, if it doesn't you can 'redirect' the assembly load path using Roman's code snippet.&lt;/P&gt;&lt;P&gt;Finally i would like to clarify that the following is Not appropriate:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px;"&gt;&lt;SPAN style="background: white; border: 0px; font-weight: inherit; font-size: 11.5pt; margin: 0px; padding: 0px;"&gt;Works, maybe appropriate?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; border: 0px; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px; padding: 0px;"&gt;&lt;SPAN style="background: white; border: 0px; font-weight: inherit; font-size: 11.5pt; margin: 0px; padding: 0px;"&gt;ArcGIS Pro Extensions folder C:\Program Files\ArcGIS\Pro\bin\Extensions&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As&amp;nbsp;Gintautas mentions if you have multiple add-ins that use the same libraries you can add them to the GAC, however, that will complicate the installation/updating of add-ins because they have to be in sync with the GAC (and the setup required to install dlls and register with the GAC).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:15:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/where-to-install-addin-referenced-dll-s/m-p/789910#M1460</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2019-10-17T15:15:02Z</dc:date>
    </item>
  </channel>
</rss>

