我重命名了计算机名称,现在我的 TFS 工作区在 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.
所以我的问题是:
- 如何更新工作区中的计算机名称?
- 尽管有新电子邮件地址注册为“realowner@test.com”,为什么 TFS 仍然在工作区中显示“wrongowner@test.com”?
最佳答案
- 安装Team Foundation Sidekicks 。它是免费的。
- 打开 Workspace Sidekick,点击“搜索”,然后从列表中选择您的工作区。
- 点击蓝色计算机图标更新工作区计算机名称即可完成。
关于visual-studio-2012 - 计算机名称更改后如何更新 TFS 工作区?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16216338/