Gerald Christian
Member
- Joined
- May 9, 2020
- Messages
- 9
- Programming Experience
- 10+
Once in a while my Team Explorer in VS 2019, after re-opening the project, has lost connection with the git repository.
This means that the project is listed under Team Explorer but there are no options for Changes, Branches and so on.
Right-clicking the project gives me the menu options "OpenP, "Open in File Explorer", and "Open Command Prompt". The "Remove" option is grayed out.
The git repository and the C# .NET project is the same folder - e.g. the git working tree is the C# .NET project directory.
The only way around this appears to to close the project and re-clone it. But then I lose all my bookmarks from the project.
My work-around for now is to abandon Team Explorer and go back to using Egit with another IDE to maintain my git repository.
Is there a way to recover from this without re-cloning the project?
This means that the project is listed under Team Explorer but there are no options for Changes, Branches and so on.
Right-clicking the project gives me the menu options "OpenP, "Open in File Explorer", and "Open Command Prompt". The "Remove" option is grayed out.
The git repository and the C# .NET project is the same folder - e.g. the git working tree is the C# .NET project directory.
The only way around this appears to to close the project and re-clone it. But then I lose all my bookmarks from the project.
My work-around for now is to abandon Team Explorer and go back to using Egit with another IDE to maintain my git repository.
Is there a way to recover from this without re-cloning the project?