Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks
To create a workspace to manage your source-controlled files 1. From the File menu, select Source Control, and then click Workspaces. 2. In the Manage Workspaces dialog box, click Add.
TFS workspaces are unique to your user name and the remote computer name and workspace information is stored both on your local computer and on the server. Genearlly if the machine name not changed, the previous workspace will be still available when you connect to the team project.
From Visual Studio, go to the Team Explorer Connect page (Keyboard: Ctrl + 0, C) and then connect to the project. (If the project you want to open is not listed, choose Select Projects and then connect to the project.) Map the project to a folder on your dev machine. Map the workspace and get your code.
If you want to clone the structure of your workspaces but leave the old ones alone, run
tf workspace /server:yourserver /new NewName /template:OldName;OldOwner
http://msdn.microsoft.com/en-us/library/tzy14b58.aspx
If you want to permanently migrate your workspaces from one machine to another, run...
tf workspaces /server:yourserver /updatecomputername:OldComputerName
http://msdn.microsoft.com/en-us/library/54dkh0y3.aspx
...then move all your files from the old box to the new one. If you're unable to use the same paths, you'll have to update the workspace definitions.
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