How to update TFS workspace after computer name changes?

前端 未结 11 1489
感情败类
感情败类 2021-01-30 13:06

I renamed my computer name, and now my TFS workspace is broken in Visual Studio 2012.

When I type:

tf workspaces /computer:ABOTONJIC-PC /owner:* /format:         


        
11条回答
  •  广开言路
    2021-01-30 13:41

    Open Command prompt and type as shown in below

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

    and type the following code with your credential

    tf workspaces /updateComputerName:OldComputerName /s:"https://tfsServerName"

    In CMD prompt

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>tf workspaces /updateComputerName:OldComputerName/s:"https://tfsServerName"

提交回复
热议问题