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.

• Use SharePoint for internal team documents such as use cases, scenario and<br />

requirements documentation, and design documentation.<br />

• Use TFS source control for product-related documentation that you ship to your<br />

customers. This could include installation and deployment guides, operations guides,<br />

and Help files.<br />

Most documents are binary files, so consider using exclusive locks to avoid manual<br />

merges. By doing so, you get notified when a file is in use and you help avoid having to<br />

perform manual merges.<br />

Use caution when using SharePoint because strict management of document versions is<br />

required. It is easier to overwrite changes in SharePoint compared to TFS source control.<br />

By default, SharePoint enables the "overwrite existing file" option selected when files are<br />

uploaded.<br />

Client-Side Structure<br />

The local folder structure on your development workstations should be identical to the<br />

server folder structure. Keep source artifacts well organized on your workstations by<br />

placing all source from all team projects together beneath a single root folder, such as<br />

C:\DevProjects. Create one sub-folder for each team project as shown in this example:<br />

C:\DevProjects<br />

projects<br />

\My<strong>Team</strong>Project1<br />

\My<strong>Team</strong>Project2<br />

Root container folder for all team<br />

Container folder for <strong>Team</strong>Project1<br />

Container folder for <strong>Team</strong>Project2<br />

Beneath each team project folder, use a copy of the application folder structure used on<br />

the source control server as shown in the following example:<br />

\My<strong>Team</strong>Project1<br />

\Main<br />

\Source<br />

\MyApp 1<br />

\Source<br />

\ClassLibrary1<br />

\MyApp1Web<br />

\UnitTests<br />

\ClassLibrary1Tests<br />

\MyWinApp1Tests<br />

\SharedBinaries<br />

\SharedSource<br />

\Docs<br />

\Tests<br />

\FunctionalTests<br />

\PerformanceTests<br />

Container folder for <strong>Team</strong>Project1<br />

Contains .sln files that span projects<br />

Contains MyApp1.sln<br />

Contains ClassLibrary1.csproj<br />

Contains Default.aspx<br />

Contains unit test projects and source<br />

Shared binaries e.g. libraries<br />

Shared source code<br />

Contains product documentation<br />

Container for tests

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

Saved successfully!

Ooh no, something went wrong!