Chapter 10

Common Version Control Scenarios

What's in this chapter?

Organizing folders within the branch structure

Managing and storing third-party dependencies

Managing source code and binaries for internal shared libraries

Storing customization artifacts to manage Team Foundation Server in the version control repository

 

A few scenarios are common across development teams when managing source code for their applications and managing Team Foundation Server. Organizing and architecting the structure of the version control system can have a direct effect on improving the way applications are managed and built. This chapter explores some of those scenarios and discusses possible solutions to tackle each of them.

Setting Up the Folder Structure for Your Branches

One common issue that development teams have centers on the organization of their source control repositories. Over time, these repositories can become unruly and downright difficult to locate. The common question around the office can sometimes be, “Where is that located in source control?”

By providing some organization to the version control repository in Team Foundation Server, you can provide your team with better discoverability of source code assets. You can also introduce best engineering practices that will make it easier to compile your applications locally and on automated build servers.

Figure 10.1 shows a sample folder structure within a branch. Notice how the folders are inside the folder indicated as a branch ...

Get Professional Team Foundation Server 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.