[Project organization] - structure refactoring with TFS

/By Dylan SUN/

There are something you need to pay attention to when you make a project structure refactoring.

You could NEVER delete a project in the TFS and re-add it into the place you want. In this way, you will lose all the changesets about this project.

What you should do is move the project to another place with TFS.

Firstly, click add button to create a new folder in TFS source control explorer.

这里写图片描述

You will see the green button on the left once you have successfully created a new folder. And it’s marked as “Add”.

[Project organization] - structure refactoring with TFS_第1张图片

Then, Move your project to the new folder.
Right click your project, then click “Move”

[Project organization] - structure refactoring with TFS_第2张图片

TFS will propose you for the destination folder. Just specify the folder you have created.

[Project organization] - structure refactoring with TFS_第3张图片

When you have done all the previous steps, you could check-in your modifications. And TFS will link all the project changeset histories to the new folder.

I hope you find this articile helpful!

你可能感兴趣的:(Refactoring,TFS)