Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top