I accidentally added my solution to the wrong Team project on TFS, I switched to file / source / advanced / change management, I selected all my projects and unpin them, went to the solution and then right-click. I selected "Add a solution for source control", but a pop-up message appeared:
The item 'ProjectName.sln' is already under source control at the selected location.
If you are trying to rebind a project that you have already added to source control
outside Microsoft Visual Studio, you should use the Change Source Control command. If you are
adding this project for the first time, you should either choose a different server folder for the project or move the
existing project to a different server folder.
I tried to connect the project with the new Team project, but when I tried to register, not the whole project was checked, but only the changes were added, as I accidentally added it to the wrong Team project.
To summarize, how can I add a project to a TFS source now?
source
share