https://developercommunity.visualstudio.com/t/VS2022-hangs-on-Open-Folder-when-Test-Ex/10259587
Visual Studio 2022 hangs on Open Folder
when Test Explorer
is open.
It occurs when IVsSccFolderProviderBinder.SccBindingsChanged event is called from IVsSolutionEvents7.OnAfterOpenFolder method.
This repository contains a synthetic example for demonstration purposes, but the problem was originally reproduced on a real-world source control plug-in.
- Initial settings for Visual Studio Experimental Instance:
Tools -> Options... -> Environment
.On startup, open: Empty environment
.
View -> Test Explorer
.- Pin the window so that it appears the next time you start Visual Studio.
- Download the project.
- Open the solution in Visual Studio.
Debug -> Start Debugging (F5)
.- In the opened Visual Studio Experimental Instance:
Tools -> Options... -> Source Control
.Current source control plug-in: Test Source Control Provider
.
File -> Open -> Folder...
.- Select any folder.
Microsoft Visual Studio Professional 2022 Version 17.4.4
Windows 10 Version 22H2 OS Build 19045.2486
- This problem does not reproduce with Visual Studio 2022 Version 17.0.0.
- This problem does not reproduce with Visual Studio 2019 Version 16.11.23.