I can’t create a new folder in TFS Sourcecontrol
Recently, I started working on a project that uses TFS, which I previously have not worked with before. After using it for a few weeks, we had to branch and that’s when it gets interesting. TFS uses location based branching. The branch is an actual new location in the source control. Not knowing this, we created a directory structure like this:
Ideally, the client and solution should be both grouped under a single folder so that we can just branch the folder and get something like the following
MyProject/Main/MyClient MyProject/Main/MyServerMyProject/Cycle1/MyClient MyProject/Cycle1/MyServerMyProject/Cycle2/MyClient MyProject/Cycle2/MyServer
What I want to do is to move the client and server solution to Main, so I can branch from Main. I attempted to go to the MyProject, right-click on the right panel in Source Control Explorer and select New Folder, but it was grayed out even though I have admin permission.
I had previously created the MyClient and MyServer project by adding the solution to TFS. As a result, I ended up with a workspace mapping from MyProject/MyClient and MyProject/MyServer. In order to create the new folders in MyProject, I need to add a folder to MyProject.
Unless you map a TFS folder to a physical location on your drive in the workspace, you canot add a folder in that directory. It's actually fairly obvious in hind site, but it's not immediately obvious the first time.