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.

Guidelines: <strong>Team</strong> Build<br />

Index<br />

Strategy<br />

• Use a scheduled build to produce regular builds.<br />

• Use a Continuous Integration (CI) build to get rapid feedback on check-ins.<br />

• Use a rolling build if CI builds are adversely impacting build server performance.<br />

• Use branching to reduce build breaks.<br />

• Use check-in policies to improve check-in quality.<br />

• Use build notification alerts to learn when the build has completed.<br />

Branching<br />

• Use new <strong>Team</strong> Build Types when creating a partial branch.<br />

• Modify the paths to solutions in the TFSBuild.proj files, when creating a complete<br />

branch.<br />

Check-in Policies<br />

• Use check-in policies to improve check-in quality.<br />

• Use check-in policies to associate work items <strong>with</strong> the build.<br />

Continuous Integration Builds<br />

• Use a CI build to get rapid feedback on check-ins.<br />

• Use a rolling build if CI builds are adversely impacting build server performance.<br />

• Ensure that the frequency of your rolling builds is less often than the build times.<br />

Customization<br />

• Use a custom post-build step to build an installer project.<br />

• Use MS Build Toolkit Extras to build Microsoft .NET 1.1 applications.<br />

• Use TFSBuild.proj to modify your build.<br />

• Use a custom pre-build step to build a project that has dependencies to another team<br />

project.<br />

Deployment<br />

• On larger teams, install the build services on a separate server.<br />

Performance<br />

• Use incremental builds to improve performance.<br />

• Avoid synchronizing redundant folders in your build.<br />

• Use workspaces to avoid checking out unwanted files and projects when doing a<br />

<strong>Team</strong> Build.<br />

• Consider using multiple build machines to improve performance.

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

Saved successfully!

Ooh no, something went wrong!