Skip to content

frobijn/VS2022-10476543-R1

Repository files navigation

This is a demo for a VS2022 issue.

How to set up the demo:

  • Create a demo directory, e.g., C:\....\demo
  • Clone repository #1 in C:\....\demo\Repository1
  • Clone repository #2 in C:\....\demo\Repository2
  • Move the files SolutionProjects-NotInGit.sln and SolutionWithoutProjects-NotInGit.sln from C:\....\demo\Repository1 to C:\....\demo
  • Start VS2022 and open the local directory C:\....\demo

Demo of the issues:

Solution outside of git, no projects, items from both repositories

  • Use the Solution explorer’s Switch between solutions and available views button to open SolutionWithProject-Repository1.sln
  • Use the same button to open SolutionWithoutProjects-NotInGit.sln

The Git changes window does not show any repositories

Solution in one repository, no projects, items from both repositories

  • Use the Solution explorer’s Switch between solutions and available views button to open SolutionWithProject-Repository1.sln
  • Use the same button to open SolutionWithoutProjects-Repository2.sln

The Git changes window shows Repository 2, not Repository 1