I’ve made a lot of changes (a.k.a refactoring) to my (big) visual studio solution and it appears now that vs solution structure is very different in visual studio from what it is on the disk and TFS.
Is there a way to make file system (and TFS) have the same folder names and file names as in visual studio solution with some tool or script/program/helper add-in?
This is the list of main issues:
– when I rename project visual studio does not rename folder where this project is located
– if I move project, file to different vs folder, it just happens in visual studio, but not on the disk
No there are no tools that can help you do this automatically.
There is a two step approach to solve it, made easier by installing two add-ons. I prefer to use the Team Foundation Power Tools and the Source Control Explorer Extensions.
From the Source Control Window inside Visual Studio:
Alternatively, do the changes on file system with the Team Foundation Power Tools explorer extensions installed:
Then re-load the solution in Visual Studio and:
Rebuild your solution to verify all changes went as expected