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.

Chapter 6 - Managing Source Control Dependencies in <strong>Visual</strong><br />

<strong>Studio</strong> <strong>Team</strong> System<br />

Objectives<br />

• Manage source control dependencies in Microsoft® <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> System.<br />

• Reference projects and assemblies from different solutions in the same team project.<br />

• Reference projects and assemblies from other team projects.<br />

• Reference third-party assemblies.<br />

• Manage Web service references in a team environment.<br />

• Manage database references in a team environment.<br />

Overview<br />

This chapter explains how you should handle source control dependencies both <strong>with</strong>in<br />

and across <strong>Visual</strong> <strong>Studio</strong> solutions. A consistent approach to managing dependencies in a<br />

team environment is necessary in order to reduce build instability and ongoing source<br />

control maintenance costs.<br />

Dependencies include other projects, external assemblies, Web services, and databases.<br />

Dependencies inevitably change over time and as a result they impact the build process<br />

and the build order of your application. A good dependency management approach<br />

improves the integration process while making builds as seamless as possible.<br />

How to Use This Chapter<br />

Use this chapter to learn about managing dependencies in a team environment. You can<br />

either read this chapter from start to finish or read the section that addresses your specific<br />

dependency management requirement. Use the “Scenarios and Solutions” section to<br />

understand the general dependency management scenarios in a team environment. This<br />

section serves as a jumping-off point to following sections that describe each dependency<br />

scenario in detail.<br />

• Use the “Referencing Projects” section to learn how to manage dependencies on<br />

other projects both inside and outside of your current team project.<br />

• Use the “Referencing Third-Party Assemblies” section to learn how to manage<br />

dependencies on third-party assemblies for which you do not own the source.<br />

• Use the “Referencing Web Services” section to learn how to reference shared Web<br />

services in a team environment.<br />

• Use the “Referencing Databases” section to learn how to reference and connect to<br />

shared databases in a team environment.<br />

Scenarios and Solutions<br />

The following scenarios are common when managing dependencies:

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

Saved successfully!

Ooh no, something went wrong!