I would like to know if there's a way to move a project in one Team Foundation Server source control to a different source control on a separate Team Foundation Server? I don't want to have to copy the files to a different folder and map that folder to the new TFS server. I've tried removing the bindings and unmapping the local source control folder on my compute, but when I do this it removes the solution file and all source code files from my local folder. Is there a way I can maintain the source code files locally and just simply map and bind that folder to the new TFS server? Your insight is appreciated, thank you.
Right-click your project or project suite in the Project Explorer and then click Source Control > Add to Team Foundation Server. Click Add to Team Foundation Server on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and select Source Control).
Select Add Server to connect to a project in Team Foundation Server. Enter the URL to your TFS server and select Add. Select a project from the list and select Connect.
You can remove the workspace from the old folder, so the folder is not mapped anymore to the old server. Then connect to the new TFS server and add the files to source control by either drag 'n drop or by starting the add folder command on the Source Control Explorer.
A few minutes ago a successfully change a project source control, to be sure when writing this answer.Let me explain how i do that;
Firstly i opened project that is still binded to old source control. Then i unbound all of the bindings at to old server. Then i saved my solution and close it. (I am not sure is this neccessary but i deleted my .vssc files) After this i'd opened the solution again and deleted my workspace from old tfs (i checked no physical file delete occurs) Then i changed my source control and Added My Project to new TFS.
You can try this but please get backup for safety :)
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