Skip to content

deniskovalchuk/bug-report-vs-hangs-on-open-folder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

VS2022 hangs on Open Folder when Test Explorer is open.

Resources

Stars

Watchers

Forks

Languages