How do I completely reset my TFS settings?

北城以北 提交于 2019-12-13 03:32:47

问题


For some context, you can see my other question here: How do I change the local path of a subfolder in TFS (not the whole workspace)?

To sum up, it seems I've encountered some kind of TFS bug. I mapped a subfolder of a TFS project to a local path and I can't seem to sever that connection. I tried deleting the local folder from File Explorer. I even erased every VS-related folder I could find from my AppData, causing Visual Studio to forget all of its recent projects and solutions and everything, and still it remembers this local path. But when I right-click the folder in Source Control Explorer, it gives a "Map to Local Folder..." option but no "Remove Mapping" option like it's supposed to.

Is the memory of this mapping stored online somewhere? How do I reset everything and make it as though I'm opening this TFS project for the first time?


回答1:


There is the issue in Source Control explorer, there is a feedback: Manage Workspace Issues - Changing the Local Path of a Project.

You can get the latest version by clicking Get Latest Version option (your screenshot), then the files will be in the correct folder and the cache will be updated, then you will find the path is changed in Source Control explorer.

Another way is that you can remove this workspace and create a new workspace.




回答2:


Go to > File > Source Control > Advanced > Change Source Control.. may be by using this you can able to remove.

Or You may follow this other way

To remove Completely TFS source control binding by following only two steps:

Step-1 :- Go to your solution's folder, find and delete all files having extensions *.vssscc and *.vspscc

Step-2 :- open your solution's .sln file in notepad then find and remove this "GlobalSection(TeamFoundationVersionControl)" section.



来源:https://stackoverflow.com/questions/46550033/how-do-i-completely-reset-my-tfs-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!