<?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 Runtime error - Could not load file or assembly v4.0_10.5.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.System.dll in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/runtime-error-could-not-load-file-or-assembly-v4-0/m-p/736295#M19565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An ArcObject code for custom toolbar in ArcGIS Desktop has been migrated from 10.1 to 10.5.1&lt;/P&gt;&lt;P&gt;All the&amp;nbsp;conflicts are resolved, but getting following error while building the solution -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Severity Code Description Project File Line Suppression State&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error System.BadImageFormatException - Could not load file or assembly 'file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/ESRI.ArcGIS.System/v4.0_10.5.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.System.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. AnalystUI C:\PUMA_AnalytikerCode\Analyst\AnalystUI\TlbImp&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution has several VB Projects (class libraries), which are interlinked. The final start-up project has reference of all these projects (dlls) .&lt;/P&gt;&lt;P&gt;Each one of them is building without any error. But the final one is not&lt;/P&gt;&lt;P&gt;I tried searching help for ArcObjects 10.5 Developers but no joy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 14:59:39 GMT</pubDate>
    <dc:creator>AmitaNarote</dc:creator>
    <dc:date>2019-10-04T14:59:39Z</dc:date>
    <item>
      <title>Runtime error - Could not load file or assembly v4.0_10.5.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.System.dll</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/runtime-error-could-not-load-file-or-assembly-v4-0/m-p/736295#M19565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An ArcObject code for custom toolbar in ArcGIS Desktop has been migrated from 10.1 to 10.5.1&lt;/P&gt;&lt;P&gt;All the&amp;nbsp;conflicts are resolved, but getting following error while building the solution -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Severity Code Description Project File Line Suppression State&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error System.BadImageFormatException - Could not load file or assembly 'file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/ESRI.ArcGIS.System/v4.0_10.5.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.System.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. AnalystUI C:\PUMA_AnalytikerCode\Analyst\AnalystUI\TlbImp&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution has several VB Projects (class libraries), which are interlinked. The final start-up project has reference of all these projects (dlls) .&lt;/P&gt;&lt;P&gt;Each one of them is building without any error. But the final one is not&lt;/P&gt;&lt;P&gt;I tried searching help for ArcObjects 10.5 Developers but no joy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/runtime-error-could-not-load-file-or-assembly-v4-0/m-p/736295#M19565</guid>
      <dc:creator>AmitaNarote</dc:creator>
      <dc:date>2019-10-04T14:59:39Z</dc:date>
    </item>
  </channel>
</rss>

