删除TFS VS2013上的旧工作区 [英] Delete Old Workspaces on TFS VS2013
问题描述
我正在尝试将TFS上的文件夹结构映射到我的C:驱动器,但出现此错误
注意:TF Sidekicks使用相同的命令,因此需要相同的权限。这是一个TFS管理员生产力工具。
更多详细步骤,请参考该问题的 RezaRahmati's 回答如何删除其他用户的TFS工作区映射
I am trying to map a folder structure on TFS to my C: drive, but I get this error ErrorMessage saying the C:/DEV-MAIN folder is already in use by another workspace.
The workspace was created on this machine by the previous user who's windows login has been deleted. I can't access it from TFS directly because I don't have access to it.
Next, I tried to remove it from the command line using 'tf workspace /delete'. As show on this CommandLineImage I found 2 workspaces on my machine (mine and the old one). Then, I tried to select just the workspaces owned by 'sjayasekar'. It said "The Identity sjayasekar is not a recognized identity", yet it clearly shows that she is the owner.
I also tried to delete it as show on the previous command line image, but it says that the workspace does not exist.
Any idea why it won't recognize the workspace or the owner when I try to reference them specifically? Or am I missing something?
If you want to use the tf workspace
command to delete other's old workspace.
Make sure you have own manage other users workspace permission. Otherwise, you need to get your TFS administrator to delete the workspace if you have no access to the account. Just using below command.
tf workspace /delete "WORKSPACENAME;PREVIOUSUSERACCOUNT"
If this is still not work, you can also try to use TFS Sidekick. Then open workspace sidekick Search for the 'xx' user and then you can delete his workspace.
Note: TF Sidekicks uses the same commands so would require the same permission. It is a TFS admin productivity tool.
More detail steps please refer the RezaRahmati's answer in this question how to remove TFS workspace mapping for another user
这篇关于删除TFS VS2013上的旧工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!