<?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:VTune not working for .NET programs on my machine (even the listadd example) in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1588503#M24555</link>
    <description>&lt;P&gt;Did you try? One similar issue is resolved using the same solution.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 12 Apr 2024 01:40:01 GMT</pubDate>
    <dc:creator>yuzhang3_intel</dc:creator>
    <dc:date>2024-04-12T01:40:01Z</dc:date>
    <item>
      <title>VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1567307#M24338</link>
      <description>&lt;P&gt;Tried for different configruations with DEBUG and RELEASE build, set&amp;nbsp;DebugType to&amp;nbsp;pdbonly,&amp;nbsp;embedded or full, or build with .net 6/7/8, launch application with dotnet.exe or run listadd.exe directly.&lt;/P&gt;&lt;P&gt;turn off antiware software or restart computer does not work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but none of those combination works and VTune keep saying the dll "does not have code of the expected architecture", sometime the symbol file "is not a valid .NET Core symbol file"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using the latest 2024.0.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luoluo40_0-1706586386131.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/50925iF4556DFEAE6389E6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="luoluo40_0-1706586386131.png" alt="luoluo40_0-1706586386131.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luoluo40_1-1706586474574.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/50926iD70CB29F87C54EB7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="luoluo40_1-1706586474574.png" alt="luoluo40_1-1706586474574.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="luoluo40_2-1706586581228.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/50927iCC7ABA459A156621/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="luoluo40_2-1706586581228.png" alt="luoluo40_2-1706586581228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 03:55:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1567307#M24338</guid>
      <dc:creator>luoluo40</dc:creator>
      <dc:date>2024-01-30T03:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568123#M24342</link>
      <description>&lt;P&gt;Can you provide sample code for reproducing in local? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 01:40:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568123#M24342</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-02-01T01:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568131#M24343</link>
      <description>&lt;P&gt;Sure! I am following the instructions on this page&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/vtune-profiler/cookbook/2023-0/profiling-a-net-core-application.html" target="_blank" rel="noopener"&gt;Profiling a .NET* Core Application (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and here is the sample code,but I don't think this issue is related to the code?&lt;/P&gt;&lt;PRE&gt;using System;
using System.Linq;
using System.Collections.Generic;

namespace listadd
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Starting calculation...");            
            List&amp;lt;int&amp;gt; numbers = Enumerable.Range(1,10000).ToList();
            for (int i =0; i &amp;lt; 100000; i ++)
            {
                ListAdd(numbers);
            }
            
            Console.WriteLine("Calculation complete");            
        }

        static int ListAdd(List&amp;lt;int&amp;gt; candidateList)
        {
            int result = 0;
            for (int i = 0; i &amp;lt; candidateList.Count; i++)
            {
                result += candidateList[i];
            }

            return result;
        }        
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 01:52:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568131#M24343</guid>
      <dc:creator>luoluo40</dc:creator>
      <dc:date>2024-02-01T01:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568136#M24345</link>
      <description>&lt;P&gt;Thanks, it looks good, could you also provide me with the vtune data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 02:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568136#M24345</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-02-01T02:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568141#M24346</link>
      <description>&lt;P&gt;Sure! This is my vtune project&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 02:10:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568141#M24346</guid>
      <dc:creator>luoluo40</dc:creator>
      <dc:date>2024-02-01T02:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568165#M24347</link>
      <description>&lt;P&gt;The same issue is observed in my local when opening the vtune project.&lt;/P&gt;
&lt;P&gt;I re-resolve the data as below, it looks the data is good, you can try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;re-resolve:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuzhang3_intel_0-1706757165244.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/51006i323895427A9B0FF1/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="yuzhang3_intel_0-1706757165244.png" alt="yuzhang3_intel_0-1706757165244.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuzhang3_intel_1-1706757229102.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/51007i2EA340CBBFB6D561/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="yuzhang3_intel_1-1706757229102.png" alt="yuzhang3_intel_1-1706757229102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 03:15:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568165#M24347</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-02-01T03:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568173#M24348</link>
      <description>&lt;P&gt;re-resolve does not work on my machine, but when I install vtune in a virtual machine (windows sandbox), load the project and re-resolve, it works fine.&lt;/P&gt;&lt;P&gt;so this may be a issue related to environment or operation system?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;update: when I upload the binary files, it still be '&lt;SPAN&gt;Cannot locate file `D:\listadd2\bin\Release\net7.0\listadd2.dll'. `C:\listadd2\bin\Release\net7.0\listadd2.dll' does not have code of the expected architecture. Make sure to specify the correct path to the file in the Binary/Symbol Search list of directories.&lt;/SPAN&gt;' and no detailed content about functions inside dll.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 04:04:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568173#M24348</guid>
      <dc:creator>luoluo40</dc:creator>
      <dc:date>2024-02-01T04:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568183#M24349</link>
      <description>&lt;P&gt;It should be one issue related to environment, there is one similar issue reported on forum a few weeks ago. The issue has been reported to engineering team.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 04:30:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1568183#M24349</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-02-01T04:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1569791#M24364</link>
      <description>&lt;P&gt;I just want to make sure the latest version is linked in this thread, as the cookbook recipe has been recently updated from the version posted:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/vtune-profiler/cookbook/2024-0/profiling-a-net-core-application.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/vtune-profiler/cookbook/2024-0/profiling-a-net-core-application.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 16:00:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1569791#M24364</guid>
      <dc:creator>Jennifer_D_Intel</dc:creator>
      <dc:date>2024-02-06T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1569968#M24365</link>
      <description>&lt;P&gt;&lt;SPAN&gt;the latest version is linked in this thread.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am using the latest version. When I posted, I didn't notice that the cookie recipe I was using was not the latest. But later on, I also reproduced this issue while using the latest version of the cookie recipe.&lt;/P&gt;&lt;P&gt;This seems to be an issue that occurs for all dotnet programs (&lt;FONT size="2"&gt;'&lt;SPAN class=""&gt;Cannot locate file `D:\listadd2\bin\Release\net7.0\listadd2.dll'. `C:\listadd2\bin\Release\net7.0\listadd2.dll' does not have code of the expected architecture. Make sure to specify the correct path to the file in the Binary/Symbol Search list of directories.&lt;/SPAN&gt;'&lt;/FONT&gt;), both cookie recipes follow the almost same way to build and run program,&amp;nbsp;and this issue has indeed been reproduced using the latest version.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 02:44:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1569968#M24365</guid>
      <dc:creator>luoluo40</dc:creator>
      <dc:date>2024-02-07T02:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1579754#M24466</link>
      <description>&lt;P&gt;I see your working path includes&amp;nbsp;™&amp;nbsp; and&amp;nbsp;®&amp;nbsp; special characters, please remove them and then capture again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;405 [8532] INFO perfrun.mrte &amp;lt;&amp;gt; - Data directory: E:\Intel® VTune™ Profiler Results\dotnet\r005hs\data.0&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 10:07:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1579754#M24466</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-03-12T10:07:48Z</dc:date>
    </item>
    <item>
      <title>Re:VTune not working for .NET programs on my machine (even the listadd example)</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1588503#M24555</link>
      <description>&lt;P&gt;Did you try? One similar issue is resolved using the same solution.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Apr 2024 01:40:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-not-working-for-NET-programs-on-my-machine-even-the/m-p/1588503#M24555</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-12T01:40:01Z</dc:date>
    </item>
  </channel>
</rss>

