<?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 White window C# visual 2019 and sdk 100.7 in Higher Education Questions</title>
    <link>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384474#M395</link>
    <description>&lt;P&gt;Hi. I work with Visual Studio 2019.&amp;nbsp; I have installed ArcGIS sdk to .NET and WPF. I mount references ArcGIS in my C# WPF Desktop project. I write map code. But when I execute my program, I have a white window with "powered ArcGIS" text on Bottom. But I Don't have map.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I make GIS project is ok. But I would like create a WFP desktop project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you got solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 17:32:46 GMT</pubDate>
    <dc:creator>CavronJeremy</dc:creator>
    <dc:date>2021-05-10T17:32:46Z</dc:date>
    <item>
      <title>White window C# visual 2019 and sdk 100.7</title>
      <link>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384474#M395</link>
      <description>&lt;P&gt;Hi. I work with Visual Studio 2019.&amp;nbsp; I have installed ArcGIS sdk to .NET and WPF. I mount references ArcGIS in my C# WPF Desktop project. I write map code. But when I execute my program, I have a white window with "powered ArcGIS" text on Bottom. But I Don't have map.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I make GIS project is ok. But I would like create a WFP desktop project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you got solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 17:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384474#M395</guid>
      <dc:creator>CavronJeremy</dc:creator>
      <dc:date>2021-05-10T17:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: White window C# visual 2019 and sdk 100.7</title>
      <link>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384475#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post or attach the rest of the code.&amp;nbsp; What is shown is not enough to determine the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384475#M396</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-02-19T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: White window C# visual 2019 and sdk 100.7</title>
      <link>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384476#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thank you for your help.&lt;/P&gt;&lt;P&gt;I've solved my problem. It was my firewall that was blocking the map from loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand I want to load a local map. a tpk file. But I have a blank page and no error messages with WPF project with C#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my cs file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt; Map map = new Map(); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Uri uri = new Uri(@"My_Absolute_tpk_file_path"); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ArcGISTiledLayer tilLayer = new ArcGISTiledLayer(uri); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;map.Basemap.BaseLayers.Add(tilLayer); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;MyMapView.Map = map; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my XAML file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;esri:MapView x:Name="MyMapView"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:MapView&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm with Visual Studio 2019 and ArcGIS Runtime 100.7 Thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:32:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384476#M397</guid>
      <dc:creator>CavronJeremy</dc:creator>
      <dc:date>2020-02-19T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: White window C# visual 2019 and sdk 100.7</title>
      <link>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384477#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is solved. It was my tpk file who was protected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I post code to load tpk file in WPF project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;TileCache cache = new TileCache("absolute_tpk_file_path");&lt;/DIV&gt;&lt;DIV&gt;// Use the tile cache to create an ArcGISTiledLayer.&lt;BR /&gt;ArcGISTiledLayer tiledLayer = new ArcGISTiledLayer(cache);&lt;/DIV&gt;&lt;DIV&gt;// Display the tiled layer as a basemap.&lt;BR /&gt;MyMapView.Map = new Map(new Basemap(tiledLayer));&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;thank. subject solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 15:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/higher-education-questions/white-window-c-visual-2019-and-sdk-100-7/m-p/384477#M398</guid>
      <dc:creator>CavronJeremy</dc:creator>
      <dc:date>2020-02-19T15:45:54Z</dc:date>
    </item>
  </channel>
</rss>

