After making sure my source control in VS was set to Team Foundation Version Control (TFVC), I connected to a team project, double clicked the solution in Source Control Explorer, and hit "yes" on the notification to bind the project. Once I did that, I saw that my Source control option got switched back to Git automatically. When I try switching once more to TFVC, the project closes because it was previously linked to git. My instructor says that we are always supposed to stay on TFVC. She mentioned that unprompted switching between the two is an issue some people have, though she is unsure why. I'm wondering if anyone here has encountered this, and might have any ideas on how to fix it? It just seems to be going in circles. I'm using VS 2017 Community, in case that detail is relevant.
This screenshot is part of my reply to Jesse, regarding the .git folder that must be deleted. When I navigate to the project folder, I see several possible locations where it might be, but cannot locate it. The team project is the one called "JobPlacementDashBoard".
In your project folder, there is a .git
folder. Visual Studio automatically detects this and switches over to the Git provider.
To fix:
.git
folder
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.