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:detailed
Workspace : ABOTONJIC-PC Owner : [email protected] Computer : ABOTONJIC-PC Comment : Collection : netuse.visualstudio.com\DefaultCollection Permissions: Private Location : Local File Time : Current
But I need to have :
Owner : [email protected] Computer : NEW-PC
Then I try:
tf workspaces /updateComputerName:ABOTONJIC-PC /collection:netuse.visualstudio.com/DefaultCollection
No workspace matching *;[email protected] on computer NEW-PC found in Team Foundation Server netuse.visualstudio.com/DefaultCollection.
So my question are :
Go in to manage Workspaces and click edit. On the edit workspace window select the one you want to change. Then click remove.
Press Shift+F10 to display the workspace button's pop-up menu. Press the Down Arrow key to select the Rename item, then press Return. The button becomes a text field. Edit the workspace's name in the text field.
If you want to change only one workspace you can go with a developer command prompt to worspace folder, digit tf worksspace to open the UI to edit workspace settings, press advanced and then change the username from there. Figure 1: Change workspace owner.
To make the current directory a working folder for an existing workspace on your computer, type tf workspace workspacename, where workspacename is the name of the existing workspace. The Edit Workspace dialog box appears.
I installed Sidekicks. It did not work for this issue, but this did:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE>tf workspaces /updateComputerName:OldComputerName /s:"https://tfsServerName"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With