未连接到 tfs 时删除工作区

Remove workspace when no connection to tfs

我有一个 Visual Studio 2015 社区版的本地虚拟机。这以前连接到 VSTS TFS 集合 - 我不再有权访问它。

我想将 VS 连接到一个新的 VSTS 集合,但每次加载 Visual Studio 我都会收到消息 "TF14061: The workspace xxx does not exist"

如何防止 VS 寻找工作区?我已经验证了 tf workspace /delete 命令,我在其中将集合 url 作为参数传递,但这随后提示我登录并且我的凭据不再有效。

尝试使用 Team Foundation Sidekicks 删除旧的源代码管理工作区绑定。

或者您可以尝试delete TFVC and VS local cache,然后再试一次。