<?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: 100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021143#M9716</link>
    <description>&lt;P&gt;Hi Kirk,&lt;/P&gt;&lt;P&gt;What happens when you target `net5.0-windows10.0.18362.0`?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 18:00:44 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2021-01-28T18:00:44Z</dc:date>
    <item>
      <title>100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021139#M9715</link>
      <description>&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;Is anyone able to get the sample&amp;nbsp;ArcGISRuntime.WPF.Viewer.NetCore.csproj for 100.10 to compile with .net 5.0?&lt;/P&gt;&lt;P&gt;With&amp;nbsp;&amp;lt;TargetFramework&amp;gt;net5.0-windows&amp;lt;/TargetFramework&amp;gt;, I get this error:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error The 'Esri.ArcGISRuntime.Hydrography' nuget package cannot be used to target 'net5.0-windows'. Target 'net5.0-windows10.0.18362.0' or higher instead.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;So I updated to&amp;nbsp;&amp;lt;TargetFramework&amp;gt;&lt;SPAN&gt;net5.0-windows10.0.19041.0&amp;lt;/TargetFramework&amp;gt;, but now I get this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Error XDG0008 The name "Map" does not exist in the namespace "&lt;A href="http://schemas.esri.com/arcgis/runtime/2013" target="_blank" rel="noopener"&gt;http://schemas.esri.com/arcgis/runtime/2013&lt;/A&gt;". ArcGISRuntime.WPF.Viewer.NetCore D:\repos\esri\arcgis-runtime-samples-dotnet\src\WPF\ArcGISRuntime.WPF.Viewer\Samples\Layers\ArcGISMapImageLayerUrl\ArcGISMapImageLayerUrl.xaml&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, Kirk&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021139#M9715</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-01-28T17:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: 100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021143#M9716</link>
      <description>&lt;P&gt;Hi Kirk,&lt;/P&gt;&lt;P&gt;What happens when you target `net5.0-windows10.0.18362.0`?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021143#M9716</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-01-28T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: 100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021150#M9717</link>
      <description>&lt;P&gt;Hi Michael -&lt;/P&gt;&lt;P&gt;Sorry, shoulda mentioned I get the same thing.&lt;/P&gt;&lt;P&gt;I'm running&amp;nbsp;Microsoft Windows [Version 10.0.19042.746], and on&lt;A href="https://blogs.windows.com/windowsdeveloper/2020/11/10/announcing-c-winrt-version-1-0-with-the-net-5-ga-release/" target="_self"&gt; this page&lt;/A&gt; it says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_0-1611857494706.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4813iE002BF3B034C89BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_0-1611857494706.png" alt="KirkKuykendall1_0-1611857494706.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I figured I'd use&amp;nbsp;net5.0-windows10.0.19041.0.&lt;/P&gt;&lt;P&gt;Same results with either one though.&lt;/P&gt;&lt;P&gt;Thanks, Kirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021150#M9717</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-01-28T18:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: 100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021235#M9720</link>
      <description>&lt;P&gt;This hydrography issue is a restore error. Try deleting the \obj\ folder and rebuild and this error will go away.&lt;/P&gt;&lt;P&gt;As you then found you will however after that see a few XAML compilation errors. In the .NET 5.0 build there isn't support for creating some of the objects in XAML with the default prefix.&amp;nbsp;&lt;BR /&gt;For example you will want to change esri:Map by registering the namespace using:&lt;BR /&gt;xmlns:mapping="clr-namespace:Esri.ArcGISRuntime.Mapping;assembly=Esri.ArcGISRuntime"&lt;/P&gt;&lt;P&gt;and then change it to &amp;lt;mapping:Map /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;This change has happened, because the Esri.ArcGISRuntime package no longer takes a dependency on WPF, and without that, we can't auto-register those namespaces for use by WPF. This is a current limitation in WPF, but hope to get this addressed with the PR to WPF I submitted here (feel free to upvote it help get support for it):&amp;nbsp;&lt;A href="https://github.com/dotnet/wpf/pull/3066" target="_blank"&gt;https://github.com/dotnet/wpf/pull/3066&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 21:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021235#M9720</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-01-28T21:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: 100.10 ArcGISRuntime.WPF.Viewer.NetCore won't compile with net5.0-windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021252#M9721</link>
      <description>&lt;P&gt;FYI made a PR to address these remaining issues, so you can pull that until it's been merged:&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/pull/851" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/pull/851&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 21:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-arcgisruntime-wpf-viewer-netcore-won-t/m-p/1021252#M9721</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-01-28T21:01:46Z</dc:date>
    </item>
  </channel>
</rss>

