<?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 Issues using ExportTileCacheTask from Esri.ArcGISRuntime with .NET 8 on Mac in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1568190#M13173</link>
    <description>&lt;P&gt;Hello, I've actually inherited a .NET project from another vendor that is using the Esri.ArcGISTRuntime SDK to download tiles from an Esri map server.&lt;/P&gt;&lt;P&gt;(The use case is a bit complicated, it's for an app used by people to go to national parks in Australia where there's no internet. This little .NET app runs on a server and creates 'packs' of all the things for one of these national parks, including a big cache of map tiles, which are rendered in the native iOS and Android app using Esri's native SDKs)&lt;/P&gt;&lt;P&gt;Anyway, the .NET code is failing when simply trying to prepare the task:&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;await ExportTileCacheTask.CreateAsync(serviceUri);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The error that comes out says:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;System.PlatformNotSupportedException: Operation is not supported on this platform.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitializeRuntimeCore()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.OnBeforeFirstUseOfGeneratedWrapper()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase..cctor()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm attempting to run this code on a Mac (and was hoping to deploy to Linux). Is there some other nuget I can install to get this to work? Note that this is the only thing I'm trying to do with the Esri nuget - there's no UI in the specific little server task I'm dealing with here.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 22:15:44 GMT</pubDate>
    <dc:creator>MickAtWeMakeApps</dc:creator>
    <dc:date>2024-12-12T22:15:44Z</dc:date>
    <item>
      <title>Issues using ExportTileCacheTask from Esri.ArcGISRuntime with .NET 8 on Mac</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1568190#M13173</link>
      <description>&lt;P&gt;Hello, I've actually inherited a .NET project from another vendor that is using the Esri.ArcGISTRuntime SDK to download tiles from an Esri map server.&lt;/P&gt;&lt;P&gt;(The use case is a bit complicated, it's for an app used by people to go to national parks in Australia where there's no internet. This little .NET app runs on a server and creates 'packs' of all the things for one of these national parks, including a big cache of map tiles, which are rendered in the native iOS and Android app using Esri's native SDKs)&lt;/P&gt;&lt;P&gt;Anyway, the .NET code is failing when simply trying to prepare the task:&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;await ExportTileCacheTask.CreateAsync(serviceUri);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The error that comes out says:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;System.PlatformNotSupportedException: Operation is not supported on this platform.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitializeRuntimeCore()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.OnBeforeFirstUseOfGeneratedWrapper()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;at RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase..cctor()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm attempting to run this code on a Mac (and was hoping to deploy to Linux). Is there some other nuget I can install to get this to work? Note that this is the only thing I'm trying to do with the Esri nuget - there's no UI in the specific little server task I'm dealing with here.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 22:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1568190#M13173</guid>
      <dc:creator>MickAtWeMakeApps</dc:creator>
      <dc:date>2024-12-12T22:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using ExportTileCacheTask from Esri.ArcGISRuntime with .NET 8 on Mac</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1568569#M13174</link>
      <description>&lt;P&gt;You must target net8.0-maccatalyst for this to work. Vanilla net8.0 is not supported on mac.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 20:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1568569#M13174</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-12-13T20:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using ExportTileCacheTask from Esri.ArcGISRuntime with .NET 8 on Mac</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1569109#M13178</link>
      <description>&lt;P&gt;Thanks, I eventually came to the same realisation. Happily I was able to achieve the same outcome by going direct to the the ArcGIS REST API, using the /exportTiles endpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 22:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1569109#M13178</guid>
      <dc:creator>MickAtWeMakeApps</dc:creator>
      <dc:date>2024-12-16T22:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using ExportTileCacheTask from Esri.ArcGISRuntime with .NET 8 on Mac</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1569438#M13181</link>
      <description>&lt;P&gt;We could probably improve that error message a bit to make it more clear. I'll put that in the backlog.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 18:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issues-using-exporttilecachetask-from-esri/m-p/1569438#M13181</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-12-17T18:07:13Z</dc:date>
    </item>
  </channel>
</rss>

