TFS Server 不存在时,如何去除对应Server的Workspaces
根据http://dotbert.loedeman.nl/delete-workspace-from-no-longer-existing-tfs的建议,以及http://dotbert.loedeman.nl/?p=73。
我们可以通过在VS2005/2008下的Command Prompt来运行下面的命令以去除对应的Workspaces:
1、清除所有Workspaces的缓存:tf workspaces /remove:*
2、清除指定Server的Workspaces缓存:tf workspaces /remove:* /server:<mytfsserver> ; <mytfssever>即为指定的TFS Server
在具体点的话,就请各位自己用 tf workspaces /remove /? 来查清楚了。