Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5041 Discussions

The selected type of visual studio project is not supported by vTune Profiler

CarlVerret
Novice
3,758 Views

Hi,

Trying to use vTune with a simple .net 5 core c# solution.  Always having this error message without any clue how to workaround :

CarlVerret_0-1613503368656.png

Something else.  Using stand alone vtune, I can get hotspot analysis results but It always complains that my pdb are not a valid NET core symbol file.  No matter witch pdf generation option I choose. Here's the section config of the .csporj

 

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>x64</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

CarlVerret_1-1613503452463.png

 

Thanks

Labels (1)
0 Kudos
14 Replies
RaeesaM_Intel
Moderator
3,744 Views

Hi,


Thank you for posting in Intel Forum.

Could you please share the following details so that we can reproduce the issue from our end and give appropriate solution :

  1. VTune profiler version
  2. Application and steps to reproduce


Thanks in advance,

Raeesa


0 Kudos
CarlVerret
Novice
3,736 Views

of course!

CarlVerret_0-1613584508325.png

Steps are quite simple :

I do start a new project : .net core console App in c#

build and then click on Configure Analysis with ITune button

CarlVerret_1-1613584599769.png

 

 

0 Kudos
RaeesaM_Intel
Moderator
3,696 Views

Hi,


We could reproduce the error when we tried it from our end. We checked with the experts regarding this. They informed that currently .NET5 profiling in VTune is not supported.


Raeesa



0 Kudos
CarlVerret
Novice
3,688 Views

it does the same error no matter which framework I use.

 

did you say you have reproduced or you can't ?

0 Kudos
RaeesaM_Intel
Moderator
3,677 Views

Hi,

 

We were able to reproduce the issue with .NET profiling in VTune. Can you tell us the other frameworks in which you tried profiling and got the same error.

 

Raeesa

 

0 Kudos
CarlVerret
Novice
3,668 Views

Yes.  I had same problem with net core 2.0 and .net core 3.1

0 Kudos
RaeesaM_Intel
Moderator
3,665 Views

Hi,


There’s an issue with VTune integration into VS for .NET core projects. The team is working on it.


Raeesa


RaeesaM_Intel
Moderator
3,642 Views

Hi,


We are forwarding this case to the engineering team.

Thank you.


Raeesa


0 Kudos
Vinutha_SV
Employee
3,581 Views

Hi,

Currently .Net Core projects in VS VTune extension is not supported. As a workaround, you need to profile the application in Standalone VTune or VTune Server.


0 Kudos
Vinutha_SV
Employee
3,551 Views

Can you please confirm if the workaround helped? I have provided tis feedback/Feature request to engineering team.


0 Kudos
CarlVerret
Novice
3,545 Views

Sorry but from my point of view, not using something is not a workaround.  And vTune integration does not work for any project type in visual studio.  Not only for .net core.

0 Kudos
Vinutha_SV
Employee
3,485 Views

Hi,

Can you please let me know what all types of projects did not work with VS?

As mentioned earlier, .net core is not supported and we are working on this feature. until this is enabled, please use standalone VTune.


0 Kudos
CarlVerret
Novice
3,478 Views

Seems to me that last time I've tried the tutorials I had same problem with other framework version like .net 4.7.x.

Maybe this is my bad.  Sorry. Thanks for your support.

0 Kudos
Vinutha_SV
Employee
3,410 Views

I hope your issue has been addressed. We will stop monitoring this thread. Thank you.


0 Kudos
Reply