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.

never need a branch. <strong>Development</strong> teams working on longer release cycles (e.g.,<br />

packaged Independent Software Vendor [ISV] applications) are more likely to employ<br />

branching as part of the development process.<br />

Additional Resources<br />

• For an introduction to branching and merging, see “Branching and Merging Primer”<br />

at http://msdn2.microsoft.com/en-us/library/aa730834(VS.80).aspx<br />

• For more information about branching, see “How to: Branch Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181425(VS.80).aspx<br />

• For more information about merging, see “How to: Merge Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181428(VS.80).aspx<br />

• For additional descriptions of how to branch and merge in <strong>Visual</strong> <strong>Studio</strong> 2005, see<br />

“Branching and Merging <strong>Team</strong> <strong>Foundation</strong> Source Control” at<br />

http://msdn2.microsoft.com/en-us/library/ms181423(VS.80).aspx<br />

How to Use Branching to Support a Release<br />

Use a Release branch when you are ready to stabilize your build prior to release.<br />

The following is an example of what your branch structure might look like after you have<br />

created a Release branch:<br />

• Main – Integration Branch<br />

o Source<br />

o Other Asset Folders<br />

• Releases – Container for release branches<br />

o Release 1 – Release branch<br />

• Source<br />

Keep the following recommendations in mind when working <strong>with</strong> Release branch:<br />

• When to branch – When you are ready to release, integrate everything into the<br />

Main branch and then create Release branch that can be used to stabilize the<br />

application prior to release.<br />

• When not to branch – If you are using one TFS project per release, you can use<br />

the new project to continue development, instead of a branch in the current<br />

project.<br />

• Permissions on branch:<br />

• Prior to release – assign read/write permissions to all developers.<br />

• After release – Assign read/write permissions to developers working on<br />

hotfixes, read-only for everyone else.<br />

• Build frequency in branch – The builds are performed on-demand.<br />

• Testing focus in branch – Sign off on release.<br />

You should use the Release branch for the targeted fixes and changes necessary in order<br />

to stabilize a build prior to release. <strong>Development</strong> of the next version of your application<br />

can occur in parallel in your <strong>Development</strong> or Main (integration) branches so that they can

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

Saved successfully!

Ooh no, something went wrong!