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

Denis Agarev picture Denis Agarev · Feb 20, 2013 · Viewed 13.8k times · Source

I played with Visual Studio builtin profiling tools and now every time I check out any file this section automatically adds to my solution file:

GlobalSection(Performance) = preSolution
    HasPerformanceSessions = true
EndGlobalSection

I totally removed all profiling reports, then removed local copy of all source control files from this solution and update to latest. This section still in *.sln file after any checkout.

Other teammates who haven't used prfiler doesn't have this problem. Has anyone any ideas?

Answer

Jehof picture Jehof · Mar 1, 2013

Open the PerformanceExplorer in Visual Studio by using the Menu Analyze -> Windows -> PerformanceExplorer and check if it lists any session entries.

If so delete them by doing a right-click on an entry to open the ContextMenu. Then select "Remove" from the menu.

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