How to make Visual Studio not add a GlobalSection (Performance) section?

I played with Visual Studio's profiling tools, and now every time I look at a file, this section automatically adds solutions to my file:

GlobalSection(Performance) = preSolution HasPerformanceSessions = true EndGlobalSection 

I completely deleted all profiling reports, then deleted a local copy of all source control files from this solution and updated them to the latest. This section is still in the * .sln file after any verification.

Other teammates who have not used prfiler do not have this problem. Does anyone have any idea?

+43
profiling visual-studio-2012 projects-and-solutions
Feb 20 '13 at
source share
2 answers

Open PerformanceExplorer in Visual Studio using the menu Analyze -> Windows -> PerformanceExplorer and check if it contains any session records.

If so, delete them by right-clicking on the entry to open ContextMenu. Then select "Delete" from the menu.

You should also check your solution folder if it contains .vsp or .psess and delete them. These are the profiling session report files.

+46
Mar 01 '13 at 8:06
source share

The only way I could solve this was to close the solution, delete the * .psess and * .vsp files from the root directory, reset my.sln file to the remote version and reopen the solution. The problem is gone. This was using Visual Studio 2015 Community Edition.

0
Aug 14 '17 at 10:55 on
source share



All Articles