26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Workspace Mapping<br />

Branching<br />

In this scenario, you branch the binaries from the common shared location into your team<br />

project. This creates a configuration that unifies the binaries from the shared location and<br />

their project on the server-side.<br />

The difference is that any changes to the binaries, such as new versions are picked up as<br />

part of a merge process between the branches. This makes the decision to pick up<br />

changed shared binaries much more explicit.<br />

For example if you have two team projects named $<strong>Team</strong>Project1 and $Common, and<br />

Common contains the shared binaries, you create a branch from the shared location to the<br />

project that references it. The TFS folder structure should resemble the one shown in<br />

Figure 6.5.<br />

Figure 6.5 Branching from Common<br />

Your workspace mapping should resemble the following:<br />

Source Control Folder Local Folder<br />

$/My<strong>Team</strong>Project1/Main C:\My<strong>Team</strong>Project1\Main

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!