<?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: .NET SDK - Newbie runtime dependency error in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285425#M7359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of license do you have i.e. ArcInfo or ArcGIS engine ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, Can you provide details on machine specification like is it 32 bit or 64 bit etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sumit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 21:54:47 GMT</pubDate>
    <dc:creator>SumitSharma</dc:creator>
    <dc:date>2011-08-18T21:54:47Z</dc:date>
    <item>
      <title>.NET SDK - Newbie runtime dependency error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285424#M7358</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 a complete newbie to ArcGIS SDK and I have encountered the following error when compiling and running a .NET Sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.BadImageFormatException was unhandled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Message="Could not load file or assembly 'ESRI.ArcGIS.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. An attempt was made to load a program with an incorrect format."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Source="RasterSyncExtensionReg"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; FileName="ESRI.ArcGIS.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; FusionLog="=== Pre-bind state information ===\r\nLOG: User = CSE\\tomw\r\nLOG: DisplayName = ESRI.ArcGIS.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Program Files (x86)/ArcGIS/DeveloperKit10.0/Samples/ArcObjectsNet/RasterSyncWorkspaceExtension/CSharp/RasterSyncExtensionReg/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : RasterSyncExtensionReg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Post-policy reference: ESRI.ArcGIS.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86\r\nLOG: Attempting download of new URL file:///C:/Program Files (x86)/ArcGIS/DeveloperKit10.0/Samples/ArcObjectsNet/RasterSyncWorkspaceExtension/CSharp/RasterSyncExtensionReg/bin/Debug/ESRI.ArcGIS.System.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; StackTrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at RasterSyncExtensionReg.RegisterExtension.Main(String[] args)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; InnerException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The paths to the referenced ArcObjects are correct... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 10:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285424#M7358</guid>
      <dc:creator>TomWilcox</dc:creator>
      <dc:date>2011-08-18T10:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK - Newbie runtime dependency error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285425#M7359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of license do you have i.e. ArcInfo or ArcGIS engine ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, Can you provide details on machine specification like is it 32 bit or 64 bit etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sumit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 21:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285425#M7359</guid>
      <dc:creator>SumitSharma</dc:creator>
      <dc:date>2011-08-18T21:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK - Newbie runtime dependency error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285426#M7360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sumit,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The license type (via ArcMap-&amp;gt;About) is ArcInfo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The machine is running 64-bit Windows Server 2008 R2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 13:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285426#M7360</guid>
      <dc:creator>TomWilcox</dc:creator>
      <dc:date>2011-08-22T13:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK - Newbie runtime dependency error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285427#M7361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm curious if you ever resolved this error as I'm running into the same problem.&amp;nbsp; My environment is ArcInfo 10 sp2 on Windows 7 64-bit.&amp;nbsp; I'm using Visual Studio 2008 Express for C#, however I recently loaded the ArcOjbects .Net SDK 10 sp2.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 06:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285427#M7361</guid>
      <dc:creator>ToddHay</dc:creator>
      <dc:date>2011-10-09T06:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK - Newbie runtime dependency error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285428#M7362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to answer my own question.&amp;nbsp; I had to change my target configuration to be x86 (32-bit) versus x64 (64-bit).&amp;nbsp; I did this as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Tools -&amp;gt; Options -&amp;gt; Projects and Solutions -&amp;gt; General&lt;/LI&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check Show advanced build configurations&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;This then showed the Solution Platforms combobox&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;Select Configuration Manager... from this combobox&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;In the "Type or select the new platform," type "x86"&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;Hit OK&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do the trick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 07:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-sdk-newbie-runtime-dependency-error/m-p/285428#M7362</guid>
      <dc:creator>ToddHay</dc:creator>
      <dc:date>2011-10-09T07:02:36Z</dc:date>
    </item>
  </channel>
</rss>

