简体   繁体   中英

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.

Update: I did re-install VS and re-create my project. 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.

Take a look at Tool -> Extensions and Updates and try updating what shows under "Updates"...

Once I did updates and repairs of those, it started working fine. Repairing VS itself did, however, not help.

Disable the VS extension "StopOnFirstBuild". Worked for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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