8. března 2012 18:40
I made a copy of existing local solution that was bound to source control. I removed the binding and them tried to add it to source control as a new project/solution. When i do, it doesn't prompt me for a location/collection to bind to. It just does it. What am I doing wrong? When I click bind from the change source control window, why does it just bind without asking where to bind it? Thanks.
8. března 2012 23:16
You do not have to unbind and bind again your solution. Just copy the solution (in the Windows Explorer) from one Collection to another. Make sure that the destination is already mapped in the workspace. Next step is to add these new files in the Team Explorer and check them in.
Is this what you are expecting? If not, please explain exactly what are you trying to accomplish.
Please remember to mark the replies as answers if they help. --- Success, Damir
10. března 2012 23:46
Once you have copied the files to a separate directory you have to open visual studio click on file, workspace, edit and delete the mapping. If you now choose to click add to source it will not pick up the old mapping.
It might sound strange but when you click unbind you only tell Visual Studio to unbind the project/files from tfs, when you click add to source it assumes you want to add it to the same workspace binding that you unbinded from. So, effectively, unbind, delete workspace mapping and then add to source it should work.
Please remember to mark the replies as answers if they help.