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.

How To: Structure Your Source Control Folders in <strong>Team</strong><br />

<strong>Foundation</strong> <strong>Server</strong><br />

Applies To<br />

• Microsoft® <strong>Visual</strong> <strong>Studio</strong>® 2005 <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> (TFS)<br />

• Microsoft <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> System (VSTS)<br />

Summary<br />

This How To article walks you through the process of structuring your folders in TFS.<br />

The recommendations in this article were created using lessons learned in practice by<br />

Microsoft teams as well as Microsoft customers in the field. The folder structure<br />

presented here is a starting point; more important than the structure is the rationale behind<br />

it. Use the rationale to help evaluate an appropriate folder structure and folder-naming<br />

convention for your own scenario.<br />

Contents<br />

• Objectives<br />

• Overview<br />

• Summary of Steps<br />

• Step 1 – Create a Workspace Mapping<br />

• Step 2 – Create Your Main Folder<br />

• Step 3 – Create Folders for Your Project Artifacts<br />

• Step 4 – Add Your Solution to Your Source Tree<br />

• Step 5 – Create a Branched <strong>Development</strong> Folder for Isolation (Optional)<br />

• Step 6 – Create a Releases Folder for Release Builds Isolation (Optional)<br />

• Additional Resources<br />

Objectives<br />

• Learn how to create a workspace mapping.<br />

• Learn how to structure and name your source control folders.<br />

• Learn how branching effects your source structure.<br />

Overview<br />

This How To article shows you how to build an appropriate source control folder<br />

structure that you can use <strong>with</strong> most common project types. The folder structure<br />

presented in this article uses three top level folders:<br />

• Main. This is the main root folder that acts as a container folder for your main source<br />

tree, together <strong>with</strong> accompanying project artifacts such as design documentation,<br />

scripts, and test cases. The Main folder also contains your <strong>Visual</strong> <strong>Studio</strong> Solution<br />

(.sln) files.

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

Saved successfully!

Ooh no, something went wrong!