tf.exe 个工作区 "Unable to determine the source control server"
tf.exe workspaces "Unable to determine the source control server"
我从构建服务器收到以下消息:
System.Web.Services.Protocols.SoapException: The working folder C:\TFSBuildAgent\_work\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 workspaces remove:*
tf.exe workspaces remove:ws_8_18
tf.exe workspaces remove:ws_8_18 /collection:"http://myserver/projectcollection"
None 似乎有效,但我收到错误消息:
Unable to determine the source control server.
如何正确操作?
正确的语法是:
tf.exe workspaces /collection:"http://myserver/projectcollection" remove:ws_8_18
即确保项目集合在删除命令之前。
我从构建服务器收到以下消息:
System.Web.Services.Protocols.SoapException: The working folder C:\TFSBuildAgent\_work\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 workspaces remove:*
tf.exe workspaces remove:ws_8_18
tf.exe workspaces remove:ws_8_18 /collection:"http://myserver/projectcollection"
None 似乎有效,但我收到错误消息:
Unable to determine the source control server.
如何正确操作?
正确的语法是:
tf.exe workspaces /collection:"http://myserver/projectcollection" remove:ws_8_18
即确保项目集合在删除命令之前。