<?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: Compilation error with basic project in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668392#M13794</link>
    <description>&lt;P&gt;Checking my dependencies in the project and Frameworks you can see the the two lines under SDK.NET.Ref point to NET 6&lt;/P&gt;&lt;P&gt;All entries in the NETCore and App.WPF are pointing to NET 8&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 08:51:46 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2025-11-25T08:51:46Z</dc:date>
    <item>
      <title>Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668374#M13791</link>
      <description>&lt;P&gt;I just started to use 200.8&lt;/P&gt;&lt;P&gt;I have VS 17.8&lt;/P&gt;&lt;P&gt;Started a project with the template and just compile it (no changes)&lt;/P&gt;&lt;P&gt;I get the error:&lt;/P&gt;&lt;P&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error MC1000 Unknown build error, 'Could not find type 'WinRT.WinRTRuntimeClassNameAttribute' in assembly 'C:\Users\mody\.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.31\lib\net6.0\WinRT.Runtime.dll'. Line 14 Position 23.' WpfMapApp1 C:\Projects\WpfMapApp1\WpfMapApp1\MainWindow.xaml 14&lt;/P&gt;&lt;P&gt;As far as I understand I have everything installed.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 06:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668374#M13791</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2025-11-25T06:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668375#M13792</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As I understand it, your project template is WPF application. Requirements for WPF application are:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Development environments&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Visual Studio 2022 17.8 or higher&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.NET desktop development&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;workload.&lt;/LI&gt;&lt;LI&gt;Visual Studio 2019 16.9 or higher&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(for .NET Framework applications only).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;.NET SDKs and frameworks&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://dotnet.microsoft.com/en-us/download" target="_blank" rel="noopener"&gt;.NET 8&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(8.0.404 or higher) is required for developing WPF for .NET applications.&lt;/LI&gt;&lt;LI&gt;.NET Framework 4.7.2 or higher&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is required for developing .NET Framework applications.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;From error message I see that your .NET SDK is 6.0. What .NET version did you choose when create new project from template? Do you have the same .NET SDK (8.x or 9.x) installed? Run "&lt;SPAN class=""&gt;dotnet&lt;/SPAN&gt;&lt;SPAN&gt; sdk check" from Developer Powershell to see.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 06:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668375#M13792</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-11-25T06:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668391#M13793</link>
      <description>&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;See my screen shot, it looks like I have all the versions.&lt;/P&gt;&lt;P&gt;I do not see anywhere an option to select .NET version when I create a new project. I select the template from the list and get my project. When I edit the project file I see the line:&lt;/P&gt;&lt;P&gt;&amp;lt;TargetFramework&amp;gt;net8.0-windows10.0.19041.0&amp;lt;/TargetFramework&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668391#M13793</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2025-11-25T08:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668392#M13794</link>
      <description>&lt;P&gt;Checking my dependencies in the project and Frameworks you can see the the two lines under SDK.NET.Ref point to NET 6&lt;/P&gt;&lt;P&gt;All entries in the NETCore and App.WPF are pointing to NET 8&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668392#M13794</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2025-11-25T08:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668420#M13795</link>
      <description>&lt;P&gt;After creating project, you can find .NET version in project properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GKmieliauskas_0-1764070187899.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144378iABD4A1667C728281/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GKmieliauskas_0-1764070187899.png" alt="GKmieliauskas_0-1764070187899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can select .NET version in next step after choosing project template, selecting location for project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GKmieliauskas_1-1764070360075.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144379iD6C166CDC0422E1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GKmieliauskas_1-1764070360075.png" alt="GKmieliauskas_1-1764070360075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another one thing is Visual Studio version. I have found:&amp;nbsp;&lt;A href="https://devblogs.microsoft.com/visualstudio/visual-studio-2022-v17-12-with-dotnet-9/" target="_self"&gt;Visual Studio 2022 v17.12 with .NET 9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 11:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668420#M13795</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-11-25T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668423#M13796</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upgrade to VS2022 17.14 solved the problem.&lt;/P&gt;&lt;P&gt;The docs say 17.8 is supported (that is what I had before upgrade).&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 12:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1668423#M13796</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2025-11-25T12:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with basic project</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1669380#M13800</link>
      <description>&lt;P&gt;Thanks for pointing out this error in our doc. The correct minimum is 17.12. I'll make sure that gets fixed.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 16:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/compilation-error-with-basic-project/m-p/1669380#M13800</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-12-01T16:56:42Z</dc:date>
    </item>
  </channel>
</rss>

