donderdag 4 augustus 2016

TFS Version Control > First Steps

At my new company TFVC is used for version control on the source code. For me to be able to function in the development team I need to get a grip on TFVC.

The hierarchy of TFVC (from big to small):

  1. Collection
  2. Team Project
  3. Solution
  4. Project
A realization:
  • The Source Control Explorer 'explores' the Workspace.
  • The Workspace is the LOCAL copy of the Team Project - within a Collection - stored in TFS Version Control
  • The Workspace is generally identical to the files in the directory which was mapped to the Workspace BUT it is possible for there to be files in the file system which are not added to the workspace.
    • Add those 'missing' files via Visual Studio (Source Control Explorer, rightclick->Add to Source Control, etc.)
Facepalm moment:
When creating a new project (File > New > Project) the popup has four fields to fill in:
  1. Name
  2. Location
  3. Solution
  4. Solution name
Solution has a dropdown menu with three menu items:
  1. Create new solution
  2. Add to solution
  3. Create in new instance

START LEARNING MOMENT
When creating a new project WITHIN an existing solution then use the menu item 'Add to solution' as described above
END LEARNING MOMENT

Geen opmerkingen:

Een reactie posten