There are no tools that could help you do this automatically.
There are two approaches to solving it, which are simplified by installing two add-ons. I prefer to use Team Foundation Power Tools and Source Explorer Explorer Extensions .
In the source control window inside Visual Studio:
- Close an open solution in Visual Studio
- open source control window in TFS
- Move the folders around to fit the structure you prefer, with the indicated add-ons you should be able to drag and rename them more easily.
Alternatively, make changes to the file system using the Team Foundation Power Tools explorer extensions:
- Close the solution in Visual Studio
- navigate to the workspace folder using Windows Explorer
- use the TFS context menu in folders to register / rename / move items and folders
Then reload the solution in Visual Studio and:
- Open the solution and make sure that many projects are not loading.
- Highlight a project that could not be found.
- In the project properties window (ctrl-w, p) find the file path element and click the small button [...] to go to the new location of the project file for each project.
- Rightclick projects that you have updated this way in Solution Explorer and reload them.
Restore your decision to verify that all changes went as expected.
source share