You can rename projects in Visual Studio and this will fix a lot of things for you. However, it will not correct folder names. Here is what I do when renaming a project.
1) Remove the project from the solution. 2) Rename the folder where the project is located. 3) Re-add the project to the solution. 4) Rename the project in Visual Studio.
This will leave some elements, for example, dll with the old name in bin folders.
Now, for the TFS problem. I think that when you add projects back to the solution, they will want to create new entries in TFS. This is probably not what you want. I don’t have TFS for me to check it right now, so I may have this part wrong, but I think that if you updated the “working folder” for the project between steps 2 and 3, it could hook it works correctly . Try this with a small sample before doing this with something terrible.
source share