<?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 Add-in crashes on client's machine in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1602099#M94601</link>
    <description>&lt;P&gt;Hi - I have been developing an add-in for Pro 3.3, using the latest SDK and Visual Studio 2022.&amp;nbsp; I have several clients using it successfully.&amp;nbsp; One client is able to install the add-in, but any time a button on the toolbar is clicked, Arc closes and pops up the error reporting message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To rule out any problem with my code, I built another basic add-in with no code other than to create a button on a toolbar to load a ProWindow.&amp;nbsp; On the client's machine, as soon as that is clicked, Arc crashes. The client machine has ArcGIS Pro 3.3 installed locally (not a virtualization), and has&amp;nbsp;.NET version 8.0.112.&amp;nbsp; &amp;nbsp; The add-in files are installed to&amp;nbsp;C:\Users\[USERNAME]\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{d6086f3c-6207-4a54-8c73-2c965f1a45c2}&lt;/P&gt;&lt;P&gt;What else should we look for to try to get this working?&amp;nbsp; &amp;nbsp;Thanks for any help. I am at a loss.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2025 22:55:05 GMT</pubDate>
    <dc:creator>Kevin_Andras</dc:creator>
    <dc:date>2025-04-02T22:55:05Z</dc:date>
    <item>
      <title>Add-in crashes on client's machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1602099#M94601</link>
      <description>&lt;P&gt;Hi - I have been developing an add-in for Pro 3.3, using the latest SDK and Visual Studio 2022.&amp;nbsp; I have several clients using it successfully.&amp;nbsp; One client is able to install the add-in, but any time a button on the toolbar is clicked, Arc closes and pops up the error reporting message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To rule out any problem with my code, I built another basic add-in with no code other than to create a button on a toolbar to load a ProWindow.&amp;nbsp; On the client's machine, as soon as that is clicked, Arc crashes. The client machine has ArcGIS Pro 3.3 installed locally (not a virtualization), and has&amp;nbsp;.NET version 8.0.112.&amp;nbsp; &amp;nbsp; The add-in files are installed to&amp;nbsp;C:\Users\[USERNAME]\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{d6086f3c-6207-4a54-8c73-2c965f1a45c2}&lt;/P&gt;&lt;P&gt;What else should we look for to try to get this working?&amp;nbsp; &amp;nbsp;Thanks for any help. I am at a loss.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 22:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1602099#M94601</guid>
      <dc:creator>Kevin_Andras</dc:creator>
      <dc:date>2025-04-02T22:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add-in crashes on client's machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610893#M95448</link>
      <description>&lt;P&gt;I was able to analyze the crash report from a machine running ArcGIS Pro 3.3.&amp;nbsp; It indicated this:&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;CLR exception type: System.IO.FileNotFoundException
    "Could not load file or assembly 'ArcGIS.Desktop.Mapping, Version=13.4.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'. The system cannot find the file specified."&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;Then, I rebuilt the add-in, and set all of the ArcGIS assemblies to Copy Local = Yes. After that, it still crashed, and the error report now says this:&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;CLR exception type: System.Windows.Markup.XamlParseException
    "Could not load file or assembly 'ArcGIS.Desktop.Extensions, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'. The system cannot find the file specified."&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;The client computer has the &lt;SPAN&gt;ArcGIS.Desktop.Extensions.dll file in its normal installation location.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 18:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610893#M95448</guid>
      <dc:creator>Kevin_Andras</dc:creator>
      <dc:date>2025-05-01T18:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add-in crashes on client's machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610902#M95449</link>
      <description>&lt;P&gt;Seems that everything works fine on 3.4 installations, but 3.3 installations cause these errors.&amp;nbsp; It's specifically built for 3.3, though:&lt;/P&gt;&lt;P&gt;&amp;lt;AddInInfo id="{7b259974-f6fe-4a27-8a7d-c1402f40f8df}" version="1.0" desktopVersion="3.3" product="ArcGISPro"&amp;gt;&lt;/P&gt;&lt;P&gt;Before I updated my SDK to the latest version, anything I built worked fine on a 3.3 installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 19:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610902#M95449</guid>
      <dc:creator>Kevin_Andras</dc:creator>
      <dc:date>2025-05-01T19:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add-in crashes on client's machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610990#M95451</link>
      <description>&lt;P&gt;After a lot of searching, and scratching my head, I found a random blog post about making sure that .csproj files refer to Nuget packages instead of .DLLs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mykeels.medium.com/stop-using-the-old-csproj-sdk-format-ae78e0c782bd" target="_blank"&gt;https://mykeels.medium.com/stop-using-the-old-csproj-sdk-format-ae78e0c782bd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That led me to find this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nuget.org/packages/Esri.ArcGISPro.Extensions30" target="_blank"&gt;https://www.nuget.org/packages/Esri.ArcGISPro.Extensions30&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And after I installed&amp;nbsp;Esri.ArcGISPro.Extensions30, version&amp;nbsp;3.3.3.52636, everything works on a 3.3 installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 23:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-in-crashes-on-client-s-machine/m-p/1610990#M95451</guid>
      <dc:creator>Kevin_Andras</dc:creator>
      <dc:date>2025-05-01T23:34:39Z</dc:date>
    </item>
  </channel>
</rss>

