<?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: Registering an extension (ESRIRegAsm) cannot find assembly in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609726#M16349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a side note, I have tried to compile both with ticked and unticked Build option "Register for COM interop", I have tried to compile and register with admin rights, I have tried to remove and re-add reference to ESRI.ArcGIS.Desktop.AddIns... I have tried every single advice I could find on the web to resolve this and I'm obviously still missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 12:15:11 GMT</pubDate>
    <dc:creator>DavidStefan</dc:creator>
    <dc:date>2015-05-29T12:15:11Z</dc:date>
    <item>
      <title>Registering an extension (ESRIRegAsm) cannot find assembly</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609725#M16348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am learning to develop ArcMap extensions using ArcObjects for .NET in Visual Studio C# 2010 Express.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start with, I have successfully compiled the example of implementing a dockable browser window from ESRI website (&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Web_browser_dockable_window/0001000004m5000000/" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Web_browser_dockable_window/0001000004m5000000/"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt;​). I have been able to debug the example, add the command from its category to a toolbar in ArcMap and open the browser window. This is when I debug or register the extension with ArcDesktop 10.2.2 which is on my dev machine (I am able to both debug the extension and register the release using the ESRIRegAsm.exe utility).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I port the extension .dll library to another machine with ArcDesktop 10.1 and try to register the extension I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Registration failed.&lt;/P&gt;&lt;P&gt;Could not load file or assembly 'ESRI.ArcGIS.Desktop.Addins,&lt;/P&gt;&lt;P&gt;Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'&lt;/P&gt;&lt;P&gt;or one of its dependencies. The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project doesn't have the Config.esriaddinx file so I don't really know where to look for configuring the build to make this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where should I look for advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 11:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609725#M16348</guid>
      <dc:creator>DavidStefan</dc:creator>
      <dc:date>2015-05-29T11:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Registering an extension (ESRIRegAsm) cannot find assembly</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609726#M16349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a side note, I have tried to compile both with ticked and unticked Build option "Register for COM interop", I have tried to compile and register with admin rights, I have tried to remove and re-add reference to ESRI.ArcGIS.Desktop.AddIns... I have tried every single advice I could find on the web to resolve this and I'm obviously still missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 12:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609726#M16349</guid>
      <dc:creator>DavidStefan</dc:creator>
      <dc:date>2015-05-29T12:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Registering an extension (ESRIRegAsm) cannot find assembly</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609727#M16350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not clear how you are getting an error message regarding "Add-ins," yet you are trying to compile a code sample that does not use any Add-ins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify on your workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Are you creating an Add-in Extension in ArcGIS 10.1 using the ESRI Template (File -&amp;gt; New Project -&amp;gt; Desktop Add-ins -&amp;gt; ArcMap Add-in -&amp;gt; Next -&amp;gt; Extension ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Or, did you download the ArcObjects 10.0 code sample located here, &lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Web_browser_dockable_window/0001000004m5000000/" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Web_browser_dockable_window/0001000004m5000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Web_browser_dockable_window/0001000004m5000000/&lt;/A&gt;&amp;nbsp;&amp;nbsp; , and then somehow got it to compile for 10.2.2, and then copied the output DLL onto a machine with ArcGIS 10.1, and attempted to register it by right-clicking it, and selecting "Register"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A step-by-step list of your workflow would be needed to understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time, you could try the following fix:&lt;/P&gt;&lt;P&gt;1- In Visual Studio's Solution Explorer, expand the References list.&lt;/P&gt;&lt;P&gt;2- Select all ESRI references by holding down the shift key.&lt;/P&gt;&lt;P&gt;3- Right-click and select Properties.&lt;/P&gt;&lt;P&gt;4- In the Properties Panel, set the Specific Version property to "false".&lt;/P&gt;&lt;P&gt;5- Re-build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not resolve the issue, provide a detailed bulleted list of steps you followed, right from the beginning to the point where you obtain your error. A couple screenshots of your Visual Studio window would also be helpful, especially, a screenshot capturing the error message exactly as displayed in Visual Studio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/registering-an-extension-esriregasm-cannot-find/m-p/609727#M16350</guid>
      <dc:creator>SamiEria</dc:creator>
      <dc:date>2015-06-01T17:14:21Z</dc:date>
    </item>
  </channel>
</rss>

