简体   繁体   English

Visual Studio概要分析.psess不存在或无效

[英]Visual Studio Profiling .psess does not exist or is invalid

I've followed the tutorial to perform project profiling as described here . 我已经按照所描述的进行项目分析教程这里 It worked just fine for a while, but when I try profiling again, I now always get the following error: 它工作得很好,但是当我再次尝试分析时,我现在总是得到以下错误:

在此输入图像描述

I couldn't find much help online - can anyone help? 我在网上找不到多少帮助 - 有人可以帮忙吗?

NOTE: I have a Winforms project with .Net 4.5.2 using the x86 Release build platform. 注意:我有一个使用x86 Release构建平台的.Net 4.5.2的Winforms项目。

Update: I did re-install VS and re-create my project. 更新:我重新安装了VS并重新创建了我的项目。 It then worked just fine for a while, and reappeared... Anyone has some idea?? 它然后工作了一段时间,并重新出现......任何人都有一些想法?

Ok, it appears that indeed, it is related to extensions. 好吧,看来它确实与扩展有关。 More specifically, in my case, it turned out that the bug was related to the Automatic Versions extension. 更具体地说,就我而言,事实证明该bug与自动版本扩展相关。

Take a look at Tool -> Extensions and Updates and try updating what shows under "Updates"... 看看Tool -> Extensions and Updates并尝试更新“更新”下的节目...

Once I did updates and repairs of those, it started working fine. 一旦我对这些进行了更新和修复,它就开始正常工作了。 Repairing VS itself did, however, not help. 然而,修复VS本身并没有帮助。

Disable the VS extension "StopOnFirstBuild". 禁用VS扩展“StopOnFirstBuild”。 Worked for me 为我工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM