<?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: WinUI Crash in Release in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582448#M13269</link>
    <description>&lt;P&gt;Sorry I meant trimming and not AoT.&lt;/P&gt;&lt;P&gt;Remove the trimming you define here:&amp;nbsp;&lt;A href="https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp/blob/4a2463e2825c656f95c212f939e7477c155fad95/WinUITestApp/WinUITestApp.csproj#L58" target="_blank"&gt;https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp/blob/4a2463e2825c656f95c212f939e7477c155fad95/WinUITestApp/WinUITestApp.csproj#L58&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Our next release should support this better.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 21:16:03 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2025-02-05T21:16:03Z</dc:date>
    <item>
      <title>WinUI Crash in Release</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582035#M13265</link>
      <description>&lt;P&gt;I have created a new app from scratch from the VisualStudio WinUI blank packaged app template.&lt;BR /&gt;When I run the app in both Debug and Release, the app shows up as expected.&lt;/P&gt;&lt;P&gt;I added the SceneView control from Esri.ArcGISRuntime.WinUI 200.6 nuget package.&lt;BR /&gt;&lt;BR /&gt;When I build and run in Debug, it works and I can see the map.&lt;BR /&gt;&lt;SPAN&gt;But in Release, it crashes in XamlTypeInfo.g.cs with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exception thrown: 'System.NullReferenceException' in WinRT.Runtime.dll&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;$exception&lt;/TD&gt;&lt;TD&gt;Internal error in the C# compiler&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Don't know if it is relevant since it is in Release. See attached screenshot.&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 22:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582035#M13265</guid>
      <dc:creator>Jube</dc:creator>
      <dc:date>2025-02-04T22:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: WinUI Crash in Release</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582041#M13266</link>
      <description>&lt;P&gt;Do you have PublishAoT enabled? (200.6 doesn't support it - we'll have partial support for it in 200.7).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you possibly share the project that crashes?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 22:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582041#M13266</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-02-04T22:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: WinUI Crash in Release</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582057#M13268</link>
      <description>&lt;P&gt;No I have not enabled PublishAoT.&lt;BR /&gt;Here is a git repo:&amp;nbsp;&lt;A href="https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp.git" target="_blank"&gt;https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp.git&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 23:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582057#M13268</guid>
      <dc:creator>Jube</dc:creator>
      <dc:date>2025-02-04T23:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: WinUI Crash in Release</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582448#M13269</link>
      <description>&lt;P&gt;Sorry I meant trimming and not AoT.&lt;/P&gt;&lt;P&gt;Remove the trimming you define here:&amp;nbsp;&lt;A href="https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp/blob/4a2463e2825c656f95c212f939e7477c155fad95/WinUITestApp/WinUITestApp.csproj#L58" target="_blank"&gt;https://github.com/julien-bertolini/WinUI-ArcGIS-TestApp/blob/4a2463e2825c656f95c212f939e7477c155fad95/WinUITestApp/WinUITestApp.csproj#L58&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Our next release should support this better.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 21:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582448#M13269</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-02-05T21:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: WinUI Crash in Release</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582603#M13270</link>
      <description>&lt;P&gt;Ok it works, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/winui-crash-in-release/m-p/1582603#M13270</guid>
      <dc:creator>Jube</dc:creator>
      <dc:date>2025-02-06T09:50:49Z</dc:date>
    </item>
  </channel>
</rss>

