<?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 VB Express Error in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347305#M9181</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;BR /&gt;&lt;SPAN&gt;I am busy completing a tool created in VB Express 2008 using VB.Net.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything was working great, until I started playing around with adding in toolbars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Error 2 Cannot register assembly "C:\Documents and Settings\username\My Documents\Visual Studio 2008\Pixley_EMF_V2\CWDM_EMF_V1\CWDM_EMF_V1\bin\Debug\CWDM_EMF_V1.dll". Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. CWDM_EMF_V1&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to run the tool, a meesage askes me if I want to run using a previous version (the last working version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs fine, but now I cannot add in any new features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Get rid of this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Get the correct version loaded again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I just hope I dont have to start again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2012 12:47:15 GMT</pubDate>
    <dc:creator>KeaganAllan</dc:creator>
    <dc:date>2012-01-06T12:47:15Z</dc:date>
    <item>
      <title>VB Express Error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347305#M9181</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;BR /&gt;&lt;SPAN&gt;I am busy completing a tool created in VB Express 2008 using VB.Net.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything was working great, until I started playing around with adding in toolbars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Error 2 Cannot register assembly "C:\Documents and Settings\username\My Documents\Visual Studio 2008\Pixley_EMF_V2\CWDM_EMF_V1\CWDM_EMF_V1\bin\Debug\CWDM_EMF_V1.dll". Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. CWDM_EMF_V1&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to run the tool, a meesage askes me if I want to run using a previous version (the last working version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs fine, but now I cannot add in any new features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Get rid of this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Get the correct version loaded again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I just hope I dont have to start again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 12:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347305#M9181</guid>
      <dc:creator>KeaganAllan</dc:creator>
      <dc:date>2012-01-06T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: VB Express Error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347306#M9182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a similar issue and fixed it using this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/11520-Compiling-ArcMap-10-Add-in-Build-Failed"&gt;thread&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This can be found under the Project Menu -&amp;gt; "ProjectName" Properties...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then on the Compile Tab&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Towards the bottom, make sure theat the "Register for COM interop" checkbox is unchecked, and try building it again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 16:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347306#M9182</guid>
      <dc:creator>EricMcPhee</dc:creator>
      <dc:date>2012-01-06T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: VB Express Error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347307#M9183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your swift response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking in the "Compile" section of the project's properties I do not have an option for the "Register COM Interop".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using VB Express so maybe this explains why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The options I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Build output path;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Compile Options - Option Explicit etc;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Warning configurations; and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Advanced Compile options - containing a few options regarding the development framework etc...but not COM Interop options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there maybe another area where this can be altered?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, I will have to restart the project and I REALLY do not feel like doing that 1st thing on a Monday morning &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again fro your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 04:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347307#M9183</guid>
      <dc:creator>KeaganAllan</dc:creator>
      <dc:date>2012-01-09T04:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: VB Express Error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347308#M9184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok after much hair pulling and swearing I found a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I would post it here, because the internet needs an answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somewhere along the line my ESRI.ARCGIS.Desktop.AddIns reference was lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I re-added it by navigating to it's location on my C:\ and lone-behold my project now builds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whilst many solutions online state that the Com Interop options in the "Compile" section of the project usually fixes this issue, it seems VB Express does not have this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps other people who have had / are having this problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 11:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/vb-express-error/m-p/347308#M9184</guid>
      <dc:creator>KeaganAllan</dc:creator>
      <dc:date>2012-01-09T11:21:15Z</dc:date>
    </item>
  </channel>
</rss>

