Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.96 KB

File metadata and controls

39 lines (27 loc) · 1.96 KB

Visual Studio Report

https://developercommunity.visualstudio.com/t/VS2022-hangs-on-Open-Folder-when-Test-Ex/10259587

Problem description

Visual Studio 2022 hangs on Open Folder when Test Explorer is open.

alt text

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.

Steps to reproduce

  1. 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.
  2. Download the project.
  3. Open the solution in Visual Studio.
  4. Debug -> Start Debugging (F5).
  5. 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.

Environment

Microsoft Visual Studio Professional 2022 Version 17.4.4
Windows 10 Version 22H2 OS Build 19045.2486

Notes

  1. This problem does not reproduce with Visual Studio 2022 Version 17.0.0.
  2. This problem does not reproduce with Visual Studio 2019 Version 16.11.23.