团队建立错误:路径...已映射到工作区 [英] Team Build Error: The Path ... is already mapped to workspace

查看:265
本文介绍了团队建立错误:路径...已映射到工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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:\Build\ProductReleases\FullBuildv5.4.2x\源
已映射到工作区
BuildServer_23。

The path C:\Build\ProductReleases\FullBuildv5.4.2x\Sources 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屋!

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