Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable the Performance Explorer from opening every time?

On a project that you've ran a Performance Analysis, the Performance Explorer tab always opens when VS is started, even if it was closed just before VS was exited.

How do I disable it and keep it from opening?

like image 805
Leo Gurdian Avatar asked May 09 '13 17:05

Leo Gurdian


3 Answers

This is actually BUG since Visual Studio 2012 that's been open since summer 2012 with still no official MS fix.

Here's a workaround to this annoyance:

  1. From Windows explorer, go under your VS project folder
  2. Remove the following file types if present:
    • file.vsp - (VS Performance Report)
    • file.vsps - (VS Analyzed Reports)
    • file.psess - (VS Performance Session)
  3. Re-open the Solution, if error, click OK (the Solution will still load)
  4. Close the solution
  5. Re-open the solution - the Performance Explorer tab will be finally gone!


    @B. Clay Shannon - thanks for update to also delete *.vsps
like image 191
Leo Gurdian Avatar answered Nov 20 '22 09:11

Leo Gurdian


In VS2015 Update 1 deleting the .psess file as per Leonel Gurdian's answer doesn't seem to work. Changing true to false in the following part of the .sln file did the trick though.

GlobalSection(Performance) = preSolution
    HasPerformanceSessions = true
EndGlobalSection
like image 39
XVar Avatar answered Nov 20 '22 11:11

XVar


And it is still there in VS 2015 RC! You have to chose more options to start Performance Explorer but if it's once opened, it comes again each time you start IDE atleast when you open your project.

But deleting the psess-file in ProjectFolder still works.

like image 1
Kirsten Avatar answered Nov 20 '22 09:11

Kirsten