计算机名称更改后如何更新 TFS 工作区? [英] How to update TFS workspace after computer name changes?

查看:41
本文介绍了计算机名称更改后如何更新 TFS 工作区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我重命名了我的计算机名称,现在我的 TFS 工作区在 Visual Studio 2012 中损坏了.

I renamed my computer name, and now my TFS workspace is broken in Visual Studio 2012.

当我输入时:

tf workspaces /computer:ABOTONJIC-PC /owner:* /format:detailed

Workspace  : ABOTONJIC-PC
Owner      : wrongowner@test.com
Computer   : ABOTONJIC-PC
Comment    :
Collection : netuse.visualstudio.com\DefaultCollection
Permissions: Private
Location   : Local
File Time  : Current

但我需要:

Owner      : realowner@test.com
Computer   : NEW-PC

然后我尝试:

tf workspaces /updateComputerName:ABOTONJIC-PC /collection:netuse.visualstudio.com/DefaultCollection

No workspace matching *;wrongowner@test.com on computer NEW-PC found in Team Foundation Server netuse.visualstudio.com/DefaultCollection.

所以我的问题是:

  1. 如何更新我工作区中的计算机名称?
  2. 为什么 TFS 仍然在工作区中显示wrongowner@test.com",尽管已将新电子邮件注册为realowner@test.com"?

推荐答案

  1. 安装 Team Foundation Sidekicks.它是免费的.
  2. 打开 Workspace Sidekick,点击搜索,然后从列表中选择您的工作区.
  3. 单击蓝色计算机图标以更新工作区计算机名称,您就大功告成了.
  1. Install Team Foundation Sidekicks. It's free.
  2. Open the Workspace Sidekick, click Search, and select your workspace from the list.
  3. Click the blue computer icon to Update Workspace Computer Name and you're done.

这篇关于计算机名称更改后如何更新 TFS 工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆