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
andSolutionWithoutProjects-NotInGit.sln
fromC:\....\demo\Repository1
toC:\....\demo
- Start VS2022 and open the local directory
C:\....\demo
Demo of the issues:
- 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
- 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