Workspace in tfs

Need to create any project in a separate workspace? Is there a formal naming convention for TFS workspaces? What is the use of multiple workspaces?

+4
source share
2 answers

The workspace simply maps one or more TFS paths to a stain on disk. You can display at any level in the TFS that you want. For example, you can display

$/ to a path $/ProjectName to a path $/ProjectName/Folder1/Folder1 to a path 

If logical code separation is necessary, several work areas are used. Some examples of using multiple workspaces:

  • You are working on code for several clients at the same time and do not want to mix things up.
  • You need to work in several branches at the same time (for example, correct errors and the next version).

The main thing to remember about several workspaces is that you must consciously choose the transition from one to another. In my experience, most of the time you can leave with one workspace displayed on $/ .

+1
source

TFS will have problems if the workspace is displayed at a higher directory level than other workspaces so as to avoid this I create a directory as C:. \ Tfsroot and then map each branch to subdirectories in this directory

0
source

Source: https://habr.com/ru/post/1337112/


All Articles