<?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: ESRI Toolkit Compass not visible in Release mode in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1099221#M10447</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/252052"&gt;@NathanCastle1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;Sorry I should have included them when I created the post.&lt;BR /&gt;Following are details&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Xamarin Forms - 4.8.0.1269&lt;/LI&gt;&lt;LI&gt;ArcGIS Runtime - 100.9.0&lt;/LI&gt;&lt;LI&gt;Toolkit - 100.9.0&lt;/LI&gt;&lt;LI&gt;Visual studio - 16.11.2&lt;/LI&gt;&lt;LI&gt;Architecture used to build project - x64&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XAML code: &lt;/STRONG&gt;AutoHide property is set to false&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;esriTK:Compass Margin="20"
                GeoView="{x:Reference MyMapView}" 
                WidthRequest="30" 
                HeightRequest="30"
                AutoHide="False" 
                x:Name="compass" /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 00:09:21 GMT</pubDate>
    <dc:creator>KrishnaShinde</dc:creator>
    <dc:date>2021-09-17T00:09:21Z</dc:date>
    <item>
      <title>ESRI Toolkit Compass not visible in Release mode</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1098820#M10445</link>
      <description>&lt;P&gt;We are running a Xamarin Forms application targeting UWP and on one of the map screens we display the Compass from ESRI Toolkit. The compass appears on the map but is not displayed when we launch the application in Release mode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debug mode:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KrishnaShinde_0-1631771061962.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23125i829B88E9DDA6E2E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KrishnaShinde_0-1631771061962.png" alt="KrishnaShinde_0-1631771061962.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Release mode:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KrishnaShinde_1-1631771119135.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23126i094FA68A5D4DBAC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KrishnaShinde_1-1631771119135.png" alt="KrishnaShinde_1-1631771119135.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 05:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1098820#M10445</guid>
      <dc:creator>KrishnaShinde</dc:creator>
      <dc:date>2021-09-16T05:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Toolkit Compass not visible in Release mode</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1099143#M10446</link>
      <description>&lt;P&gt;I'm sorry you're experiencing this problem.&lt;/P&gt;&lt;P&gt;Can you please share some more details about your project?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which versions of Xamarin.Forms, ArcGIS Runtime, and Toolkit are you using?&lt;/LI&gt;&lt;LI&gt;What is the XAML you are using to show the compass? Is the AutoHide property on the compass set?&lt;/LI&gt;&lt;LI&gt;Which architecture (x86, x64, ARM) are you using to build the project?&lt;/LI&gt;&lt;LI&gt;Which version of Visual Studio are you using to build?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Those details will help me reproduce and hopefully fix the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 21:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1099143#M10446</guid>
      <dc:creator>NathanCastle1</dc:creator>
      <dc:date>2021-09-16T21:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Toolkit Compass not visible in Release mode</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1099221#M10447</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/252052"&gt;@NathanCastle1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;Sorry I should have included them when I created the post.&lt;BR /&gt;Following are details&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Xamarin Forms - 4.8.0.1269&lt;/LI&gt;&lt;LI&gt;ArcGIS Runtime - 100.9.0&lt;/LI&gt;&lt;LI&gt;Toolkit - 100.9.0&lt;/LI&gt;&lt;LI&gt;Visual studio - 16.11.2&lt;/LI&gt;&lt;LI&gt;Architecture used to build project - x64&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XAML code: &lt;/STRONG&gt;AutoHide property is set to false&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;esriTK:Compass Margin="20"
                GeoView="{x:Reference MyMapView}" 
                WidthRequest="30" 
                HeightRequest="30"
                AutoHide="False" 
                x:Name="compass" /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 00:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1099221#M10447</guid>
      <dc:creator>KrishnaShinde</dc:creator>
      <dc:date>2021-09-17T00:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Toolkit Compass not visible in Release mode</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1100563#M10455</link>
      <description>&lt;P&gt;Apologies for the late response, it took me longer than expected to narrow down the issue.&lt;/P&gt;&lt;P&gt;If you open App.xaml.cs in your UWP project (not the shared project) you should see a line like the following in the OnLaunched method:&lt;/P&gt;&lt;PRE&gt;Xamarin.Forms.Forms.Init(e,&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;new&lt;/SPAN&gt; Assembly[] { &lt;SPAN class=""&gt;typeof&lt;/SPAN&gt;(&lt;SPAN class=""&gt;global&lt;/SPAN&gt;::Esri.ArcGISRuntime.Xamarin.Forms.MapView).GetTypeInfo().Assembly });&lt;/PRE&gt;&lt;P&gt;Replacing that line with the following should solve the problem.&lt;/P&gt;&lt;PRE&gt;Xamarin.Forms.Forms.Init(e,&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;new&lt;/SPAN&gt; Assembly[] { &lt;SPAN class=""&gt;typeof&lt;/SPAN&gt;(&lt;SPAN class=""&gt;global&lt;/SPAN&gt;::Esri.ArcGISRuntime.Xamarin.Forms.MapView).GetTypeInfo().Assembly,&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;typeof&lt;/SPAN&gt;(&lt;SPAN class=""&gt;global&lt;/SPAN&gt;::Esri.ArcGISRuntime.Toolkit.Xamarin.Forms.Compass).GetTypeInfo().Assembly });&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Let me know if that works for you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 21:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/esri-toolkit-compass-not-visible-in-release-mode/m-p/1100563#M10455</guid>
      <dc:creator>NathanCastle1</dc:creator>
      <dc:date>2021-09-21T21:26:10Z</dc:date>
    </item>
  </channel>
</rss>

