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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Additional Resources<br />

• For more information about creating a <strong>Team</strong> Build Type, see “Walkthrough: Creating<br />

a Build Type in <strong>Team</strong> <strong>Foundation</strong> Build” at http://msdn2.microsoft.com/enus/library/ms181286(VS.80).aspx<br />

• For more information about why <strong>Team</strong> Build checks out all the source code in a<br />

workspace, see “Why does <strong>Team</strong> Build sync all sources in spite of my selecting only<br />

a subset of solutions?” at<br />

http://blogs.msdn.com/anutthara/archive/2005/12/07/500923.aspx<br />

Consider Using Multiple Build Machines to Improve Performance<br />

If you have multiple build types all executing on a single build server, the server could<br />

become overwhelmed. In such a situation, you should consider executing different build<br />

types on different build servers.<br />

A build can take a long time to execute, especially if the build is for a large project. If<br />

you are using CI or frequent scheduled builds, the build server might not be able to keep<br />

up <strong>with</strong> the volume of builds being generated.<br />

You can install multiple build servers to distribute the load among different servers.<br />

Assign different build types to each server to even out the build load.<br />

Additional Resources<br />

• For more information, see “Chapter 7 – <strong>Team</strong> Build Explained” in this guide.<br />

Projects<br />

• Avoid dependencies across team projects.<br />

• Use project references instead of file references.<br />

• Use Web Deployment Project for Web applications.<br />

• Use a single-solution strategy if you are working on a small team project.<br />

• Use a partitioned-solution strategy if you are working on a large team project<br />

<strong>with</strong> multiple independent sub-projects.<br />

• Use a multiple-solution strategy if you are working on a very large team project<br />

that requires many dozens of independent sub-projects.<br />

Avoid Dependencies Across <strong>Team</strong> Projects<br />

In general, you should avoid dependencies that cross team projects and instead try to<br />

keep all related/dependent solutions/projects under same team project. This reduces the<br />

need for build script customization. If you have a dependency, use project references to<br />

define it, or branch the dependency from a shared project into your project. You should<br />

avoid file references because they are more difficult to manage.<br />

Additional Resources<br />

• For more information about creating a workspace, see “How to: Create a Workspace”<br />

at http://msdn2.microsoft.com/en-us/library/ms181384(VS.80).aspx

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

Saved successfully!

Ooh no, something went wrong!