Visual Studio 2013无法创建诊断报告

问题描述:

我在Visual Studio 2013 Update 4中有一个64位项目。当我使用Visual Studio内置的cpu profiler对其进行配置时,它收集的数据正常。但是当我停止分析器时,它说:'Microsoft Visual Studio无法创建诊断报告。'Visual Studio 2013无法创建诊断报告

输出窗口显示了这个:

Profiling of '[Project name]' started. 
[Project name] has exited. 
Profiling of '[Project name]' stopped. 
Diagnostics session stopped with errors. 

An error occurred opening '%temp%\BD371444-95DE-4EF8-9433-A9D00C516579'. The formatting of the file is not supported by this version of Visual Studio. Please try again with a different file or a different version of Visual Studio. 

中列出的文件夹中,也有可以使用Windows性能分析器中打开,没有错误.etl文件。

我试过修复Visual Studio没有任何效果。

我有同样的问题。这似乎是在我对Visual Studio进行“修复”之后发生的,但它可能不相关。

我没有找到一个真正解决问题,但我已经找到了解决办法为我工作:

  1. 启动过程中独立的(按Ctrl + F5)
  2. 转到菜单ANALYZE >探查>连接/断开
  3. 停止时,它的工作

我不知道为什么,但我的作品,因为我不经常使用它。

+0

很奇怪,这也适用于我:D –