Reputation: 11019
So I made a mistake when setting up a project within Visual Studio Online (VSO) and TFS. I chose the SCRUM option rather than Agile option and now I need to move my code to a new project I setup in VSO that makes use of Agile.
Since my Visual Studio solution and all its files are already controlled by one VSO/TFS project is it possible to move them to a different project? I tried to change the existing project from SCRUM to Agile but evidently once it is set in the project there is not going back.
Upvotes: 1
Views: 4100
Reputation: 179
Here are detailed steps that I followed to accomplish the task:
Delete the Source Control Project files as well (*.vspscc)
(not a deal breaker but it prevents an error)Open the solution and add it to Source Control
In VSTS under the history of the code files, there should now be a "Show merge history" link where you can see the previous history of the files.
Upvotes: 4
Reputation: 39898
You are correct that you can't change the process template for an existing project. However, moving the code with a simple snapshot mode is very easy.
You need to make sure that you have the latest version of the code locally on your pc in a workspace mapped to your Scrum project.
You then map the source folder of your Agile project to a different folder on your pc, copy the code from the Scrum workspace to the Agile workspace and use the Source Control Explorer to add the code to your new project.
This way however you won't copy any of the history to your new project. If you wan't to establish history between your two team projects, you can branch the code from TP1 to TP2. In your history you will see the point where you branched and you can look at the history before that moment.
Upvotes: 2