Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Visual Studio performance tools to load symbols for "System.Core.ni.dll"

I'm using Visual Studio 11's profiler (sampling), and am having trouble getting the report to show me the code I need it to. The problem is that several of the assemblies won't load because they're "Native Images". The primary one I'm concerned about is "System.Core.ni.dll". Because that symbol isn't loading, when I go to view the report I can't see why my Expression is slow. Instead, it just bundles all of the samples related to Expressions into a line reading "System.Core.ni.dll".

If I look at the Output window, I see the following two lines:

Failed to load symbols for C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\713a8c0e41e664d349efcc0cec7f5e86\System.Core.ni.dll Loaded symbols for C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

Notice how the first symbol doesn't load?

What are my options? Can I stop native images from being used? Can I load the symbols for native images?

like image 254
Josh Mouch Avatar asked Oct 11 '12 17:10

Josh Mouch


1 Answers

I had a similar problem on Windows 8 and found a post here that helped me solve the problem. Don't know if it will solve the OP's issue but it worked for me.

like image 196
SkipHarris Avatar answered Nov 05 '22 21:11

SkipHarris