【问题标题】:tf.exe workspaces "Unable to determine the source control server"tf.exe 工作区“无法确定源代码管理服务器”
【发布时间】:2016-10-07 16:41:00
【问题描述】:

我从构建服务器收到以下消息:

System.Web.Services.Protocols.SoapException: The working folder C:\TFSBuildAgent\_work\8\s is already in use by the workspace ws_8_18;Project Collection Build Service (TEAM FOUNDATION) on computer MYSERVER02.
at Microsoft.TeamFoundation.VersionControl.Server.Repository.CreateWorkspace(Workspace workspace)

我已登录到服务器 MYSERVER02,并试图通过运行 tf.exe workspaces 的记录命令之一来删除工作区 ws_8_18:

tf.exe 工作区删除:*

tf.exe 工作区删除:ws_8_18

tf.exe 工作区删除:ws_8_18 /collection:"http://myserver/projectcollection"

似乎没有任何工作,我收到错误消息:

无法确定源代码管理服务器。

我该如何正确操作?

【问题讨论】:

    标签: tfs tfs-2015


    【解决方案1】:

    正确的语法是:

    tf.exe 工作区 /collection:"http://myserver/projectcollection" remove:ws_8_18

    即确保项目集合在删除命令之前。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-07-09
      • 1970-01-01
      • 2016-05-17
      • 1970-01-01
      • 1970-01-01
      • 2013-03-22
      • 2014-12-28
      相关资源
      最近更新 更多