Visual Studio 2022 errors opening a solution after a git rebase with conflicts

Ron L 0 Reputation points
2023-09-18T12:05:12.93+00:00

When I have to rebase a solution in git, my normal practice is to close the solution in VS 2022, but keep VS open, then run the rebase from the command line and use VS to resolve rebase conflicts. I have found though that when I do have merge conflicts in the rebase operation, after the rebase is complete and pushed, when I reopen the solution in VS (File | Recent Projects and Solutions | my solution) I often get a dialog saying that VS cannot find the solution file and asking if I want to remove it from the recents list. Answering "yes" requires me to find the solution directory to reopen it, and I have found that the best approach is to close VS completely. However when I do that and then reopen VS and select my solution from the Recents list, the solution opens but none of my previously open files are reopened.

Does anyone have a solution for this problem? And is anyone else seeing a similar problem?

TIA

Developer technologies | Visual Studio | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.