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.

6. Click the ellipsis button beneath Local Folder and then browse to and select the<br />

local folder on your development computer where you want to locate your team<br />

project workspace; for example C:\DevProjects\My<strong>Team</strong>Project1.<br />

7. Click OK twice to close the Edit Workspace dialog box.<br />

8. Click OK in response to the Microsoft <strong>Visual</strong> <strong>Studio</strong> message box that informs you<br />

than one or more working folders have changed.<br />

9. Click Close to close the Manage Workspaces dialog box.<br />

To perform a Get operation on your team project<br />

1. In <strong>Team</strong> Explorer, expand your My<strong>Team</strong>Project1 team project node.<br />

2. Double-click Source Control beneath your team project.<br />

3. In Source Control Explorer, right-click the root folder My<strong>Team</strong>Project1 and then<br />

click Get Latest Version.<br />

4. In the Browse For Folder dialog box select your local path (for example<br />

C:\DevProjects\My<strong>Team</strong>Project1) and then click OK. This maps the team project<br />

root folder <strong>with</strong>in TFS to a local path on your computer.<br />

Step 3 – Create Your Folder Structure in Source Control<br />

In this step, depending on your strategy and project requirements you create a source<br />

control folder structure on your server. This should generally start <strong>with</strong> a /Main/Source<br />

folder structure, which enables you to subsequently create <strong>Development</strong> and Releases<br />

branches at the same level as Main. For example, the Releases folder would be used to<br />

contain branched code corresponding to the software releases that you are maintaining.<br />

The <strong>Development</strong> folder contains your isolated development branch.<br />

/Main<br />

/Source<br />

/MyApp1<br />

Contains MyApp1.sln<br />

/Source<br />

Container folder<br />

/ClassLibrary1 Contains ClassLibrary1.csproj<br />

/MyApp1Web Contains Default.aspx<br />

/UnitTests<br />

Contains unit test projects<br />

/ClassLibrary1Tests Test project for ClassLibrary1<br />

/MyApp1WebTests Test project for MyApp1Web<br />

/Build<br />

Contains build output (binaries)<br />

/Docs<br />

Contains design docs etc<br />

/TestCases<br />

Contains test case documentation<br />

/<strong>Development</strong><br />

/FeatureBranch1<br />

/Source<br />

/MyApp1<br />

/Source<br />

/MyApp1Web<br />

/ClassLibrary1<br />

/UnitTests

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

Saved successfully!

Ooh no, something went wrong!