<?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 Compiling ArcMap 10 Add-in = Build Failed in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606087#M16250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am using Windows 7 x64 with Visual Studio 2010 &amp;amp; ArcMap 10. When compiling an add-in for ArcMap 10 in Visual Studio I get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Cannot register assembly "myaddin.dll" Could not load file or assembly "ESRI.ArcGIS.Desktop.AddIns". The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made sure the reference to the file is there &amp;amp; it exists. The weird thing is when I compile it again, it comiles fine without error. Really annoying, every time I want to compile my project I have to compile it twice in order for it to succeed. Has anyone else seen this or know how to fix it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 22:28:32 GMT</pubDate>
    <dc:creator>ITSupport</dc:creator>
    <dc:date>2010-08-23T22:28:32Z</dc:date>
    <item>
      <title>Compiling ArcMap 10 Add-in = Build Failed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606087#M16250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am using Windows 7 x64 with Visual Studio 2010 &amp;amp; ArcMap 10. When compiling an add-in for ArcMap 10 in Visual Studio I get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Cannot register assembly "myaddin.dll" Could not load file or assembly "ESRI.ArcGIS.Desktop.AddIns". The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made sure the reference to the file is there &amp;amp; it exists. The weird thing is when I compile it again, it comiles fine without error. Really annoying, every time I want to compile my project I have to compile it twice in order for it to succeed. Has anyone else seen this or know how to fix it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 22:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606087#M16250</guid>
      <dc:creator>ITSupport</dc:creator>
      <dc:date>2010-08-23T22:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling ArcMap 10 Add-in = Build Failed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606088#M16251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you create the project from scratch in Visual Studio 2010 or it's an upgrade from 2008? What is the target .NET framework set for the add-in project?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since an add-in project should not be registered with COM, make sure "Register for COM interop" is unchecked and the ESRI.ArcGIS.Deskop.AddIns assembly reference Copy Local property set to false. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the above doesn't fix the build problem, a full build log from the output window should help to diagnose this. You may want to change the MSBuild verbosity to Normal/Detailed in the Visual Studio Options dialog (Tools &amp;gt; Option, Projects and Solutions &amp;gt; Build and Run) before pasting the log here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 17:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606088#M16251</guid>
      <dc:creator>EagerIp</dc:creator>
      <dc:date>2010-08-24T17:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling ArcMap 10 Add-in = Build Failed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606089#M16252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi sorpobear&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "Register for COM interop" was ticked. I unticked it &amp;amp; the problem went away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Things are a done little different with Add-ins but I like it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 19:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606089#M16252</guid>
      <dc:creator>ITSupport</dc:creator>
      <dc:date>2010-08-24T19:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling ArcMap 10 Add-in = Build Failed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606090#M16253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on esri Addin, Visual Studio 2010, Platform target x86, Target Framework 3.5, ArcMap 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am referencing DSOFile.dll from Microsoft. I have the Register for COM Interop unchecked,&amp;nbsp; ESRI.ArcGIS.Desktop.AddIns copy Local set to false, DSOFile copy Local set to true. The dsofile is 32 bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I release build the Addin the DSOFile.dll does not get referenced.&amp;nbsp; I will have to copy the dll and regserv32 the dll to get the addIn to work on the newly installed computer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the detailed build log file for reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 15:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606090#M16253</guid>
      <dc:creator>RaymolRappai</dc:creator>
      <dc:date>2013-02-08T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling ArcMap 10 Add-in = Build Failed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606091#M16254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same thing here. I am developing ArcMap AddIn and I have to reference external ActiveX Interface that is not registered in GAC, so I need the "Register for COM interop"&amp;nbsp; box checked. I also added Pre-build event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\windows\microsoft.net\Framework\v2.0.50727\regasm.exe /codebase "C:\Program Files (x86)\TestActiveX\IActiveX\AxIGISLink.dll"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the same build error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there workaround here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 11:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/compiling-arcmap-10-add-in-build-failed/m-p/606091#M16254</guid>
      <dc:creator>DimitarKolev</dc:creator>
      <dc:date>2013-06-26T11:59:56Z</dc:date>
    </item>
  </channel>
</rss>

