<?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 Running tests on .NET 6, with Target Framework Moniker (TFM) not running in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-tests-on-net-6-with-target-framework/m-p/1338530#M10551</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGis Pro 3.1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create the project&amp;nbsp;for regression testing according to &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing&lt;/A&gt;&amp;nbsp;.It works when I am using target platform&amp;nbsp;&amp;nbsp;net6.0-windows but when I am using&amp;nbsp; Target Framework Moniker&amp;nbsp;&amp;lt;TargetFramework&amp;gt;net6.0-windows10.0.18362.0&amp;lt;/TargetFramework&amp;gt; it is even not trying to run and do not have any log information to find the reason of the issue. it just not running:&lt;/P&gt;&lt;P&gt;In test output only this information:&lt;/P&gt;&lt;P&gt;Building Test Projects&lt;BR /&gt;Even though the 'Run Tests in Parallel' setting is turned off, tests in projects that reference runsettings file '...\protests.runsettings' will be executed in parallel because it specifies the value for 'MaxCpuCount' as '0'.&lt;BR /&gt;Even though the 'Run Tests in Parallel' setting is turned off, tests in projects that reference runsettings file '...UI.Tests\protests.runsettings' will be executed in parallel because it specifies the value for 'MaxCpuCount' as '0'.&lt;BR /&gt;========== Starting test run ==========&lt;BR /&gt;========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in &amp;lt; 1 ms ==========&lt;/P&gt;&lt;P&gt;I need to use it in order to have access to windows runtime&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/desktop/modernize/desktop-to-uwp-enhance.md" target="_blank" rel="noopener"&gt;https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/desktop/modernize/desktop-to-uwp-enhance.md&lt;/A&gt;&amp;nbsp;from .Net6&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 10:41:40 GMT</pubDate>
    <dc:creator>YuriiYanov</dc:creator>
    <dc:date>2023-10-17T10:41:40Z</dc:date>
    <item>
      <title>Running tests on .NET 6, with Target Framework Moniker (TFM) not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-tests-on-net-6-with-target-framework/m-p/1338530#M10551</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGis Pro 3.1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create the project&amp;nbsp;for regression testing according to &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing&lt;/A&gt;&amp;nbsp;.It works when I am using target platform&amp;nbsp;&amp;nbsp;net6.0-windows but when I am using&amp;nbsp; Target Framework Moniker&amp;nbsp;&amp;lt;TargetFramework&amp;gt;net6.0-windows10.0.18362.0&amp;lt;/TargetFramework&amp;gt; it is even not trying to run and do not have any log information to find the reason of the issue. it just not running:&lt;/P&gt;&lt;P&gt;In test output only this information:&lt;/P&gt;&lt;P&gt;Building Test Projects&lt;BR /&gt;Even though the 'Run Tests in Parallel' setting is turned off, tests in projects that reference runsettings file '...\protests.runsettings' will be executed in parallel because it specifies the value for 'MaxCpuCount' as '0'.&lt;BR /&gt;Even though the 'Run Tests in Parallel' setting is turned off, tests in projects that reference runsettings file '...UI.Tests\protests.runsettings' will be executed in parallel because it specifies the value for 'MaxCpuCount' as '0'.&lt;BR /&gt;========== Starting test run ==========&lt;BR /&gt;========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in &amp;lt; 1 ms ==========&lt;/P&gt;&lt;P&gt;I need to use it in order to have access to windows runtime&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/desktop/modernize/desktop-to-uwp-enhance.md" target="_blank" rel="noopener"&gt;https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/desktop/modernize/desktop-to-uwp-enhance.md&lt;/A&gt;&amp;nbsp;from .Net6&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 10:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-tests-on-net-6-with-target-framework/m-p/1338530#M10551</guid>
      <dc:creator>YuriiYanov</dc:creator>
      <dc:date>2023-10-17T10:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running tests on .NET 6, with Target Framework Moniker (TFM) not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-tests-on-net-6-with-target-framework/m-p/1369141#M10997</link>
      <description>&lt;P&gt;Found actually the solution:&lt;/P&gt;&lt;P&gt;While all project has configuration similar to next, the platform is AnyCpu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;PropertyGroup&amp;gt;
&amp;lt;TargetFramework&amp;gt;net6.0&amp;lt;/TargetFramework&amp;gt;
&amp;lt;ImplicitUsings&amp;gt;enable&amp;lt;/ImplicitUsings&amp;gt;
&amp;lt;Nullable&amp;gt;enable&amp;lt;/Nullable&amp;gt;
&amp;lt;Platforms&amp;gt;AnyCPU&amp;lt;/Platforms&amp;gt;
&amp;lt;/PropertyGroup&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test project should have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;TargetFramework&amp;gt;net6.0-windows10.0.22621.0&amp;lt;/TargetFramework&amp;gt;
    &amp;lt;ImplicitUsings&amp;gt;enable&amp;lt;/ImplicitUsings&amp;gt;
    &amp;lt;Nullable&amp;gt;enable&amp;lt;/Nullable&amp;gt;
    &amp;lt;Platforms&amp;gt;ARM32;AnyCPU&amp;lt;/Platforms&amp;gt;
    &amp;lt;ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch&amp;gt;
      None
    &amp;lt;/ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch&amp;gt;
    &amp;lt;GenerateAssemblyInfo&amp;gt;false&amp;lt;/GenerateAssemblyInfo&amp;gt;
    &amp;lt;EnableDefaultEmbeddedResourceItems&amp;gt;false&amp;lt;/EnableDefaultEmbeddedResourceItems&amp;gt;
    &amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;
    &amp;lt;UseWPF&amp;gt;true&amp;lt;/UseWPF&amp;gt;
    &amp;lt;ImportWindowsDesktopTargets&amp;gt;true&amp;lt;/ImportWindowsDesktopTargets&amp;gt;
    &amp;lt;IsTestProject&amp;gt;true&amp;lt;/IsTestProject&amp;gt;
    &amp;lt;EnableNETAnalyzers&amp;gt;false&amp;lt;/EnableNETAnalyzers&amp;gt;
    &amp;lt;OutputPath&amp;gt;bin\$(Configuration)&amp;lt;/OutputPath&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The most important here is&amp;nbsp;ARM32 ( do not know why but it works)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 20:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-tests-on-net-6-with-target-framework/m-p/1369141#M10997</guid>
      <dc:creator>YuriiYanov</dc:creator>
      <dc:date>2024-01-11T20:05:32Z</dc:date>
    </item>
  </channel>
</rss>

