0
Posted on 7:17 AM by Softminer and filed under

run in the Developer Command Prompt for Visual Studio
to get workspaces on your computer and getting collection name 

tf workspaces

result will be like 

Workspace     Owner      Computer Comment
------------- ---------- -------- ---------------
DEV2           Your Name COMPUTERNAME

DEV2           Your Name COMPUTERNAME

after that run following command:

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

https://www.visualstudio.com/docs/tfvc/workspaces-command

0
Responses to ... Changing workspace in visualstudio after renaming computer name