<?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: Replace Addin AssemblyCache to GlobalAssemblyCache in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/replace-addin-assemblycache-to-globalassemblycache/m-p/1327278#M20602</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;commonReferenced.dll must be signed if you want to add it to GAC. More info about placing library to GAC is &lt;A href="https://learn.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;After your library is in GAC, you need to delete old library reference, then add new library reference from GAC. "Copy local" set to false.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 14:03:51 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2023-09-11T14:03:51Z</dc:date>
    <item>
      <title>Replace Addin AssemblyCache to GlobalAssemblyCache</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/replace-addin-assemblycache-to-globalassemblycache/m-p/1325864#M20601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Multiple addins are having few common dll files as reference. So during execution time, under AssemblyCache, Multiple folders, one for each addin(with the same common dll) is maintained&amp;nbsp; which consumes more memory. Is there any option to copy the supporting dll in GAC path and make the addin to refer the folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently what we have is:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Local\ESRI\Desktop&amp;lt;version&amp;gt;\AssemblyCache \xxxx\&lt;STRONG&gt;commonReferenced.dll&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Local\ESRI\Desktop&amp;lt;version&amp;gt;\AssemblyCache \yyyy\&lt;STRONG&gt;commonReferenced.dll&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Expected output is(something like) given below:&lt;/STRONG&gt; (instead duplicating the dll in multiple folder, the GAC folder should be used.) How to achieve this in addins?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C:\Windows\Microsoft.NET\assembly\GAC_MSIL\&lt;STRONG&gt;commonReferenced.dll&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 06:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/replace-addin-assemblycache-to-globalassemblycache/m-p/1325864#M20601</guid>
      <dc:creator>DharmaRajan</dc:creator>
      <dc:date>2023-09-07T06:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Addin AssemblyCache to GlobalAssemblyCache</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/replace-addin-assemblycache-to-globalassemblycache/m-p/1327278#M20602</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;commonReferenced.dll must be signed if you want to add it to GAC. More info about placing library to GAC is &lt;A href="https://learn.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;After your library is in GAC, you need to delete old library reference, then add new library reference from GAC. "Copy local" set to false.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 14:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/replace-addin-assemblycache-to-globalassemblycache/m-p/1327278#M20602</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-09-11T14:03:51Z</dc:date>
    </item>
  </channel>
</rss>

