My System Administrator renamed my computer. So where it was \"MyLaptop2\" it is now just \"MyLaptop\".
So now all my source control bindings and checked out files
In Visual Studio.. Go to "Team Explorer-Home" ... you will be able to see your workspace name.. Click on it and "Manage".. Add your workspace.. This should do the trick..
To avoid get and map after creating new workspace
Run cmd
Navigate to visual studio IDE path. Something like this:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
Run this command:
tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer/tfs/MyCollection"
In "manage workspace", delete the added workspace (named as your current computer name), and rename the old one to your current computer name.
In this scenario you don't need any extra get and map.