How to update TFS workspace after computer name changes?

前端 未结 11 1471
感情败类
感情败类 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:18

    Look at this link

    Vaccano said :

    This command did the trick:

    tf workspaces /updateComputerName:MyOldComputerName 
    /s:"http://MyServer:8080/tfs/MyCollection"
    

    It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name. >

提交回复
热议问题