<?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: Could not load type from assembly - ArcGIS Pro SDK for .NET in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1414218#M11408</link>
    <description>&lt;P&gt;Pro will use the dependencies it needs from its bin location.&amp;nbsp;ArcGIS Pro 3.3 will be available in a few weeks. This version of Pro uses updated&amp;nbsp;System.ServiceModel.Primitives.dll - version 6.200.XXX. Can you please try using Pro 3.3 to see if your addin works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 16:14:45 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2024-04-23T16:14:45Z</dc:date>
    <item>
      <title>Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1413984#M11404</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm creating an Add-In for ArcGIS Pro 3.2.2 with Visual Studio 2022 and .NET 6.0 and ArcGIS Pro SDK for .NET; I'm following the guidelines here: &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#install-pro-and-the-pro-sdk-for-3x" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#install-pro-and-the-pro-sdk-for-3x&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also created some WCF proxy clients to be able to call web services in SOAP: &lt;A href="https://learn.microsoft.com/en-us/dotnet/core/additional-tools/wcf-web-service-reference-guide#how-" target="_blank"&gt;https://learn.microsoft.com/en-us/dotnet/core/additional-tools/wcf-web-service-reference-guide#how-&lt;/A&gt; to-use-the-extension&lt;/P&gt;&lt;P&gt;Everything works if I call my code from a generic executable, but if I call the WCF proxy client from a button of an ArcGIS Pro Add-In I receive the following error: Could not load type 'System.ServiceModel.Channels.IBindingRuntimePreferences' from assembly 'System.ServiceModel.Primitives, Version=4.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.&lt;/P&gt;&lt;P&gt;In my project I have to use .NET 6.0 but it seems that ArcGIS Pro uses dlls from an older version: 4.9.0.0.&lt;/P&gt;&lt;P&gt;Instead of loading the classes present in the dll: System.ServiceModel.Primitives.dll of my Nuget Package it uses the dll present in: C:\Program Files\ArcGIS\Pro\bin.&lt;/P&gt;&lt;P&gt;This causes me an error during instantiation WCF proxy client to call my web services.&lt;/P&gt;&lt;P&gt;How can I troubleshoot the problem? Is this a bug?&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;Nausica Montanari&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 07:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1413984#M11404</guid>
      <dc:creator>NausicaaMontanari</dc:creator>
      <dc:date>2024-04-23T07:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1414218#M11408</link>
      <description>&lt;P&gt;Pro will use the dependencies it needs from its bin location.&amp;nbsp;ArcGIS Pro 3.3 will be available in a few weeks. This version of Pro uses updated&amp;nbsp;System.ServiceModel.Primitives.dll - version 6.200.XXX. Can you please try using Pro 3.3 to see if your addin works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 16:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1414218#M11408</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-04-23T16:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1414569#M11417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hope so and I will wait confidently.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nausica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 06:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1414569#M11417</guid>
      <dc:creator>NausicaaMontanari</dc:creator>
      <dc:date>2024-04-24T06:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1473778#M11546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;, according to &lt;A href="https://github.com/Esri/arcgis-pro-sdk/releases" target="_self"&gt;Pro SDK documentation&lt;/A&gt;,Pro 3.3 requires .NET 8.&amp;nbsp; So there seems to be the same type of inconsistency between Pro system requirements (.NET 8 ) and system libraries&amp;nbsp;internally loaded by Pro (6.X).&lt;/P&gt;&lt;P&gt;In my opinion this might cause similar problems as with Pro 3.2. What is the reason for library versions in&amp;nbsp;&lt;SPAN&gt;C:\Program Files\ArcGIS\Pro\bin being different from .NET version required by Pro?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 13:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1473778#M11546</guid>
      <dc:creator>MarcelŠíp</dc:creator>
      <dc:date>2024-05-16T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1573036#M12464</link>
      <description>&lt;P&gt;Any news on this?&lt;/P&gt;&lt;P&gt;It looks like Pro 3.3 that works with .NET 8 is looking for libraries with version 9&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 09:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1573036#M12464</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2025-01-07T09:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load type from assembly - ArcGIS Pro SDK for .NET</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1573063#M12465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in ArcGIS Pro 3.3.x with .NET 8&amp;nbsp;everything works.&lt;/P&gt;&lt;P&gt;Nausica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 11:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/could-not-load-type-from-assembly-arcgis-pro-sdk/m-p/1573063#M12465</guid>
      <dc:creator>NausicaaMontanari</dc:creator>
      <dc:date>2025-01-07T11:30:30Z</dc:date>
    </item>
  </channel>
</rss>

