Error VSP1737: File could not be opened due to sharing violation
问题 I am getting below error in the Visual Studio 2013 Ultimate when running performance and diagnostics session with Team Foundation Server (TFS). Below are the steps to reproduce: Get latest from Team Foundation Server. Create new Performance Session of "CPU Sampling" method. Launch the newly created Performance Session. After exiting the session by closing internet explorer or clicking on "Stop Profiling". Then I would get below error in the Output Window. Preparing web server for profiling.