How to: Copy and paste workspace mappings
One of the very little known tricks when dealing with Workspace mappings in TFS Source Control is that you can actually copy & paste working folders. This can be useful if you need to share workspace mappings between team members. You can just copy and paste them between developers.
To create a new mapping, you need to specify Source Control Folder & Local Folder pairs separated by “:” (colons).
For example, author the following mappings in notepad and copy them to the clipboard.
Then open the File | Source Control | Workspaces | Edit.. window.
If you right-click and select “Paste”, or just press Ctrl-C, it will parse and paste the mappings into the dialog.
And the result is this:
What is interesting with workspace mappings is that neither the Source Control Folder or the Local Folder have to be valid. I’m not sure why this is but I’ve asked the question.
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using