<?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: 10.1 Add in question - can I pull in components from other DLLs? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-add-in-question-can-i-pull-in-components-from/m-p/66112#M1774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It does not seem to be feasible only by changing the Config.esriaddinx file. This line &amp;lt;... library="MyNamespace.MyAddin.dll" ...&amp;gt; limits the file for searching the extensions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you can load extension from other project by using AddIn.FromID function. Please look into the following help page for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-- Add-in coding patterns --&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Add_in_coding_patterns/0001000000zz000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Add_in_coding_patterns/0001000000zz000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 17:34:36 GMT</pubDate>
    <dc:creator>FengZhang2</dc:creator>
    <dc:date>2012-07-20T17:34:36Z</dc:date>
    <item>
      <title>10.1 Add in question - can I pull in components from other DLLs?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-add-in-question-can-i-pull-in-components-from/m-p/66111#M1773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm getting started with the 10.x add-in architecture and have made several add-ins - several extensions, toolbar buttons, etc. What I would like to do is make a single "umbrella" add-in that pulled in components from other DLLs. For example, have each extension in its own DLL for ease of development, separation of concerns, etc. and have a separate add-in reference them. I can't get this to work in the Config.esriaddinx file. I saw &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/46360-esriaddinx-file-and-class-full-names" rel="nofollow noopener noreferrer" target="_blank"&gt;this thread&lt;/A&gt;&lt;SPAN&gt; but didn't help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say I have the add-in configured like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; &amp;lt;AddIn language="CLR4.0" library="MyNamespace.MyAddin.dll" namespace="MyNamespace.MyAddin"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ArcMap&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Extensions&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Extension id="MyNamespace_MyAddin_LocalExtension" class="LocalExtension" productName="MyProduct" autoLoad="true"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Description&amp;gt;Fill in later&amp;lt;/Description&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Extension&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Extension id="MyNamespace_MyOtherProj_OtherExtension" class="OtherExtension" productName="MyProduct" autoLoad="true"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Description&amp;gt;Fill in later&amp;lt;/Description&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Extension&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Extensions&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ArcMap&amp;gt;
&amp;nbsp; &amp;lt;/AddIn&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will load LocalExtension no problem since it is in MyNamespace.MyAddin.dll. But I cannot get OtherExtension to load. Note that there is another DLL, MyNamespace.MyOtherProj.dll with extension class at MyNamespace.MyOtherProj.OtherExtension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? If so, what's the right incantation for Config.esriaddinx to get the add-in DLL to reference the extension?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim Hanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-add-in-question-can-i-pull-in-components-from/m-p/66111#M1773</guid>
      <dc:creator>JimHanks</dc:creator>
      <dc:date>2021-12-10T22:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 Add in question - can I pull in components from other DLLs?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-add-in-question-can-i-pull-in-components-from/m-p/66112#M1774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It does not seem to be feasible only by changing the Config.esriaddinx file. This line &amp;lt;... library="MyNamespace.MyAddin.dll" ...&amp;gt; limits the file for searching the extensions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you can load extension from other project by using AddIn.FromID function. Please look into the following help page for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-- Add-in coding patterns --&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Add_in_coding_patterns/0001000000zz000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Add_in_coding_patterns/0001000000zz000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 17:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-add-in-question-can-i-pull-in-components-from/m-p/66112#M1774</guid>
      <dc:creator>FengZhang2</dc:creator>
      <dc:date>2012-07-20T17:34:36Z</dc:date>
    </item>
  </channel>
</rss>

