What happened: I have an online TFS account (if you don’t have one please go to visual studio and subscribe, free for 5 people team). I recently bought a surface pro and started creating various test projects.
I created a test project on vs 2012 on my surface, then connected to my TFS (free) and then I decided to sync my project to my TFS, I right clicked on my solutions to add it to source control but then I got the following error
“Error Cannot map server path $/project name/path name because it is not rooted beneath a team project” what happened was I have no local path setup for my source control, so I synched my source control to a local folder and then moved my test project to this local path, then I continued the same adding my solution to the source control and it worked.
very simple solution. I know there are so many articles about this but this is my experience and I am sharing it.
Thank you
Vijaya Malla.