visual-studio-2015 – 分析ASP.NET核心/ dotnet项目:分析失败

我试图在Visual Studio 2015中的ASP.NET核心Web应用程序上设置一个分析会话.

Performance Profiler中,我的目标是“可执行文件”,并将使用性能向导来配置性能分析的类型(例如,检测):

《visual-studio-2015 – 分析ASP.NET核心/ dotnet项目:分析失败》

然后我选择我要概述的项目:

《visual-studio-2015 – 分析ASP.NET核心/ dotnet项目:分析失败》

完成分析后,报告无法加载.在性能输出中:

Profiling started.
Data written to C:\Product\MyProject\MyProject.Api160803(8).vsp.
Profiling finished.
File contains no data buffers
File contains no data buffers
Analysis failed

注意:我的目标是.NET 4.5.2而不是核心库.

最佳答案 看起来这是因为其中一个引用没有包含pdb文件.

尝试查找pdb文件,改为使用抽样或删除此类引用.

我有与微软论坛帖子:https://social.msdn.microsoft.com/Forums/en-US/3d561480-c583-4144-9141-96d6517fcc6f中描述的类似问题

点赞