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.

To create a branched Releases folder:<br />

1. Create a root-level Releases folder (as a sibling of Main and <strong>Development</strong>).<br />

2. Create a sub folder named Release1.<br />

3. Select the $/<strong>Team</strong>Project/<strong>Development</strong>/Source folder, right-click the folder and then<br />

click Branch.<br />

Note: If Branch is grayed out, make sure you have checked in any pending changes.<br />

4. In the Branch dialog box, click Browse select $/<strong>Team</strong>Project/Maintenance/Release1,<br />

and then click OK.<br />

5. In the Branch from version section, in the By list box, click Label and enter a label<br />

name in the Label text box. To find a label, click the browse button <strong>with</strong> the ellipses<br />

(…) next to the Label text box.<br />

6. Click OK to create the branch.<br />

Your new folder structure in source control should resemble the following example one<br />

shown here.<br />

/Main<br />

/Source<br />

/MyApp1<br />

/Source<br />

/MyApp1Web<br />

/ClassLibrary1<br />

/Build<br />

/Docs<br />

/Source<br />

/Tests<br />

/Releases<br />

/Release1<br />

/Source<br />

/MyApp1<br />

/Source<br />

/MyApp1Web<br />

/ClassLibrary1<br />

/Release 1.1<br />

/Release 1.2<br />

Additional Considerations<br />

Keep in mind the following key considerations when structuring your source control<br />

folders in TFS:<br />

• Do not branch unless you need to. You can label releases and branch at a later time if<br />

you need isolation.

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

Saved successfully!

Ooh no, something went wrong!