<?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: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492258#M12778</link>
    <description>&lt;P&gt;I don't think this is settable in the project dialogs. I never use those any longer either. Typically you do this in the publish settings instead, but since you're doing some kind of installer project I'm guessing you're not using that.&amp;nbsp;&lt;BR /&gt;Anyway you set it in the project file directly. Add the following to a project group&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RuntimeIdentifier&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&amp;lt;Platform&amp;gt;x64&amp;lt;/Platform&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You could also create platform configurations and have it change based on it. ie&lt;BR /&gt;&amp;lt;RuntimeIdentifier Condition="'$(Platform)'=='x64'"&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&amp;lt;RuntimeIdentifier Condition="'$(Platform)'=='x86'"&amp;gt;win-x86&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Again I don't quite know what kind of MSI project you're using since AFAIK they don't ship one out of the box with Visual Studio, so I don't know how it tries to compile the project.&lt;BR /&gt;If you use the newer App Packaging projects that creates MSIX it'll "just work".&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 01:36:53 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2024-06-14T01:36:53Z</dc:date>
    <item>
      <title>Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492143#M12772</link>
      <description>&lt;P&gt;Hello - I'm needing an urgent help hope you can direct me to the right cause.&lt;/P&gt;&lt;P&gt;I've been trying to deploy a WPF project based on this example projec Query a feature layer (SQL) seen here&lt;/P&gt;&lt;P&gt;project&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/query/tutorials/query-a-feature-layer-sql/" target="_blank"&gt;https://developers.arcgis.com/net/query/tutorials/query-a-feature-layer-sql/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The exercise map is replace by a local map and a corresponding feature layer that returns a collection of points.&lt;BR /&gt;So far so good, until I added a Set Up project to deploy my target project (using resulted msi installer).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting this warning below may it be x64 or x86 as my target platform:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Warnings_Persist.png" style="width: 579px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107022i7248564510266E7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Warnings_Persist.png" alt="Warnings_Persist.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Warnings_Persist_for_this_1st_item_in-Framework-Node.png" style="width: 580px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107025i308D7924AA27911F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Warnings_Persist_for_this_1st_item_in-Framework-Node.png" alt="Warnings_Persist_for_this_1st_item_in-Framework-Node.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Then I've picked up what seems to be fresh release of Arcgis Maps SDK .NET Template project:&amp;nbsp;&lt;A href="https://mediaspace.esri.com/media/t/1_2gx16j17" target="_blank"&gt;https://mediaspace.esri.com/media/t/1_2gx16j17&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="new-template.png" style="width: 450px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107023iEAD0DFE85AFBD603/image-size/large?v=v2&amp;amp;px=999" role="button" title="new-template.png" alt="new-template.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Iv'e looked at the depencies, all the framework item and packages are organized the same way except the .netcore item if of heigher version.&lt;BR /&gt;&lt;BR /&gt;I did the same Set Up deployment procedure and got the same warnings.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BuiltOnArcgisMapSDKtemplate_SameCoreDllWarning.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107024i197D8914B8409690/image-size/large?v=v2&amp;amp;px=999" role="button" title="BuiltOnArcgisMapSDKtemplate_SameCoreDllWarning.png" alt="BuiltOnArcgisMapSDKtemplate_SameCoreDllWarning.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;When I click on my program deployed short-cut, it doesn't load anything, nothing is fired. However the program name did show up in the control panel Programs &amp;amp; Features and uninstallable.&lt;BR /&gt;&lt;BR /&gt;I check out Program File's instalation directory and I see no netcore dll component like the deployment page points out. &lt;A href="https://developers.arcgis.com/net/license-and-deployment/deployment/" target="_blank"&gt;https://developers.arcgis.com/net/license-and-deployment/deployment/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoSignOfRuntimeCoreNetXXX_Y-dll_ObservedInProgramFileInstallationDirectory.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107026iF66C026AC663C868/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NoSignOfRuntimeCoreNetXXX_Y-dll_ObservedInProgramFileInstallationDirectory.png" alt="NoSignOfRuntimeCoreNetXXX_Y-dll_ObservedInProgramFileInstallationDirectory.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking for RuntimeCoreNet200_4.dll,&amp;nbsp;RuntimeCoreNet200_4.WPF.dll, runtimecore.dll but none were found down the list. What gives?&lt;BR /&gt;&lt;BR /&gt;After several trials, it seems a possible conclusion is that Microsoft Setup Program is not suitable for an Arcgis Map SDK .net based project? Isn't that strange? Can you help me straighten this out if you have been successful with Microsoft Set Up project for WPF program.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 21:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492143#M12772</guid>
      <dc:creator>KTT_Mercury</dc:creator>
      <dc:date>2024-06-13T21:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492167#M12773</link>
      <description>&lt;P&gt;This is my project file:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="project-file.png" style="width: 841px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107028iA5AA6B3B8EF30221/image-size/large?v=v2&amp;amp;px=999" role="button" title="project-file.png" alt="project-file.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is the Window Dialog open from within the Application Folder which I access thru the context menu of the SetUp Project, the 2nd project in my Visual Studio Solution by means of right-clicking on it:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ProjectOutDialog_OpenedFromApplicationFolderContextMenu.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107029i9381E18A4A8FC2FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ProjectOutDialog_OpenedFromApplicationFolderContextMenu.png" alt="ProjectOutDialog_OpenedFromApplicationFolderContextMenu.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I had also chosen the other such as&amp;nbsp;(Release Any CPU) from the dropdown instead of (Active) but it didn't change the outcome for the resulted msi.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;These are all the .net packages and c++ distributable packages installed on my machine, I checked on each item in the deployment guide to make sure I got the prerequisites mentioned here :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/net/license-and-deployment/deployment/" target="_blank"&gt;https://developers.arcgis.com/net/license-and-deployment/deployment/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dotnet Runtime.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107030i5B6192199E350B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dotnet Runtime.png" alt="Dotnet Runtime.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cplusplus-Redistributable.png" style="width: 591px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107031i7524884E67946917/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cplusplus-Redistributable.png" alt="Cplusplus-Redistributable.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This is the item i am less familiar with but I took screenshot just in case: the same "Project Output" item but i do a "properties" command to view its attributes.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8. Project Output File inside Application Folder of the Setup Project.png" style="width: 651px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107032i496379423DEB186E/image-size/large?v=v2&amp;amp;px=999" role="button" title="8. Project Output File inside Application Folder of the Setup Project.png" alt="8. Project Output File inside Application Folder of the Setup Project.png" /&gt;&lt;/span&gt;&lt;BR /&gt;What am I missing? This is so frustrating. I did choose "Release" for both target project and SetUp project in them VS solution and rebuild them.&lt;BR /&gt;&lt;BR /&gt;Here is the msi:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="msi-release.png" style="width: 690px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107034i49019997DC1C3B63/image-size/large?v=v2&amp;amp;px=999" role="button" title="msi-release.png" alt="msi-release.png" /&gt;&lt;/span&gt;&lt;BR /&gt;If you choose the same exercise please let me know if you can deploy it (the short cut loads the program and a map gets displayed in a window)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 22:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492167#M12773</guid>
      <dc:creator>KTT_Mercury</dc:creator>
      <dc:date>2024-06-13T22:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492179#M12774</link>
      <description>&lt;P&gt;Since I see the "runtimes" folder in the last screenshot, it looks like you compiled for AnyCPU (the DLLs you're looking for are likely in the runtimes folder).&lt;/P&gt;&lt;P&gt;Try setting Platform=x64 and RuntimeIdentifier=win-x64, and the runtimes folder will go away, and the native assemblies will be placed in the root folder.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 22:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492179#M12774</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-06-13T22:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492255#M12776</link>
      <description>&lt;P&gt;I'm looking for&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;RuntimeIdentifier&lt;/STRONG&gt;, is it a field on a dialog box, is it located in one of my screenshots? I can't find it. Can you please show me where it is?&lt;BR /&gt;&lt;BR /&gt;Is &lt;STRONG&gt;&lt;EM&gt;Platform&lt;/EM&gt; &lt;/STRONG&gt;short of &lt;STRONG&gt;&lt;EM&gt;TargetPlatform&lt;/EM&gt;&lt;/STRONG&gt; or is it a reserved keyword in some other places not shown in my screenshots? One place I can go is my project's Properties Window poiting to Build tab and set target platform to x64. Please help me more by clarifying the place/windows/dialog-box (I think I will go to all applicable places, but I hope&amp;nbsp; your environment is like mine so you can tell me what window or dialog-box it is (located in main WPF project or SetUp project?)&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492255#M12776</guid>
      <dc:creator>KTT_Mercury</dc:creator>
      <dc:date>2024-06-14T01:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492258#M12778</link>
      <description>&lt;P&gt;I don't think this is settable in the project dialogs. I never use those any longer either. Typically you do this in the publish settings instead, but since you're doing some kind of installer project I'm guessing you're not using that.&amp;nbsp;&lt;BR /&gt;Anyway you set it in the project file directly. Add the following to a project group&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RuntimeIdentifier&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&amp;lt;Platform&amp;gt;x64&amp;lt;/Platform&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You could also create platform configurations and have it change based on it. ie&lt;BR /&gt;&amp;lt;RuntimeIdentifier Condition="'$(Platform)'=='x64'"&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&amp;lt;RuntimeIdentifier Condition="'$(Platform)'=='x86'"&amp;gt;win-x86&amp;lt;/RuntimeIdentifier&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Again I don't quite know what kind of MSI project you're using since AFAIK they don't ship one out of the box with Visual Studio, so I don't know how it tries to compile the project.&lt;BR /&gt;If you use the newer App Packaging projects that creates MSIX it'll "just work".&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492258#M12778</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-06-14T01:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Warning RuntimeCoreNet200_3.dll of project output is not compatible with the project's target platform</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492259#M12779</link>
      <description>&lt;P&gt;One more thing: If your installed app isn't launching (ie nothing is happening) it is likely crashing. Open up "Event Viewer" and got to Windows Logs -&amp;gt; Application. There should be some recent Error entries that should give you an indication of what went wrong (note there might be multiple entries for the same error, but they contain different details). Make sure content files etc from your project is included (most importantly the "arcgisruntime200.3\*" folder).&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/persistent-warning-runtimecorenet200-3-dll-of/m-p/1492259#M12779</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-06-14T01:58:17Z</dc:date>
    </item>
  </channel>
</rss>

