Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2015 分析ASP.NET核心/dotnet项目:分析失败_Visual Studio 2015_Asp.net Core_.net Core_Dotnet Cli - Fatal编程技术网

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

Visual studio 2015 分析ASP.NET核心/dotnet项目:分析失败,visual-studio-2015,asp.net-core,.net-core,dotnet-cli,Visual Studio 2015,Asp.net Core,.net Core,Dotnet Cli,我正在尝试在Visual Studio 2015中的ASP.NET核心web应用程序上设置评测会话 在性能分析器中,我以“可执行文件”为目标,并将使用性能向导来配置配置类型(例如,检测): 然后,我选择要分析的项目: 完成分析后,报告无法加载。在性能输出中: Profiling started. Data written to C:\Product\MyProject\MyProject.Api160803(8).vsp. Profiling finished. File contains

我正在尝试在Visual Studio 2015中的ASP.NET核心web应用程序上设置评测会话

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

然后,我选择要分析的项目:

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

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文件,改用采样或删除此类引用

我有类似的问题,如微软论坛帖子所述: