Unable to find symbol file
I'm trying to CPU profile a console application, but for some reason, after the profiling finishes, I can't see the details of what took how much CPU, because it's "Unable to find symbol file". The .pdb file is in the same folder, so I don't see why it's having trouble.
Any idea what to do or how to further diagnose this?
5 Replies
is this .NET 5+?
try adding
<IncludeSymbols>true</IncludeSymbols>
to your csproj in a PropertyGroup.Yes, this should be the newest major release.
I think <IncludeSymbols> is for packing Nuget packages tho, so I could be wrong.
Nope, no change.
I even caught a glimpse of some loading bar where it said it was loading symbols. 🤷
Another screenshot to illustrate the problem.