团队构建错误:路径 ... 已映射到工作区 [英] Team Build Error: The Path ... is already mapped to workspace
问题描述
在 Team Foundation Server 中创建新构建时,尝试运行新构建时出现以下错误:
When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build:
路径C:BuildProductReleasesFullBuildv5.4.2xSources已经映射到工作区BuildServer_23.
The path C:BuildProductReleasesFullBuildv5.4.2xSources is already mapped to workspace BuildServer_23.
我无法在工作区对话框中看到该名称的工作区.
I am unable to see a workspace by that name in the workspaces dialog.
推荐答案
使用命令行实用程序 TF - Team Foundation 版本控制工具 (tf).
Use the command line utility TF - Team Foundation Version Control Tool (tf).
您可以通过打开 Visual Studio 命令提示符,然后切换到您的工作区文件夹并发出以下命令来获取所有工作区的列表:
You can get a list of all workspaces by bringing up a Visual Studio Command Prompt then changing to your workspace folder and issuing the following commands:
C:YourWorkspaceFolder>tf workspaces /owner:*
您应该会在列表中看到您的问题工作区及其所有者.
You should see your problem workspace in the list as well as it's owner.
您可以使用以下命令删除工作区:
You can delete the workspace with the following command:
C:YourWorkspaceFolder>tf workspace /delete /server:BUILDSERVER WORKSPACENAME;OWNERNAME
这篇关于团队构建错误:路径 ... 已映射到工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!