24

我正在使用 Visual Studio 11 的分析器(采样),并且无法让报告显示我需要的代码。问题是一些程序集不会加载,因为它们是“本机图像”。我关心的第一个是“System.Core.ni.dll”。因为那个符号没有加载,当我去查看报告时,我看不出为什么我的表达式很慢。相反,它只是将与表达式相关的所有示例捆绑到一行读取“System.Core.ni.dll”的行中。

如果我查看输出窗口,我会看到以下两行:

无法为 C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\713a8c0e41e664d349efcc0cec7f5e86\System.Core.ni.dll 加载符号为 C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\ 加载符号v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

注意第一个符号如何不加载?

我有哪些选择?我可以停止使用本机图像吗?我可以加载原生图像的符号吗?

4

1 回答 1

31

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.

于 2013-04-01T21:20:19.093 回答