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.

The Tf move, delete, and rename commands are particularly useful if you need to<br />

perform the operation on multiple files or folders. With Source Control Explorer, you can<br />

only move, rename, or delete a single file or folder at a time.<br />

Additional Resources<br />

• For more information about the Tf delete command, see “Delete Command” on the<br />

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

• For more information about the Tf rename command, see “Rename Command” on<br />

the MSDN Web site at http://msdn2.microsoft.com/enus/library/a79bz90w(VS.80).aspx<br />

Only Delete and Rename <strong>with</strong> Your Solution Open<br />

Delete and rename files inside Solution Explorer only <strong>with</strong> your solution open. Do not do<br />

this directly on disk. This approach ensures that when you next check in your pending<br />

changes, TFS source control is kept in synchronization.<br />

Additional Resources<br />

• For more information about the Tf delete command, see “Delete Command” on the<br />

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

• For more information about the Tf rename command, see “Rename Command” on<br />

the MSDN Web site at http://msdn2.microsoft.com/enus/library/a79bz90w(VS.80).aspx<br />

Create One <strong>Team</strong> Project per Application if You Want to Move Your<br />

Assets Between Application Versions<br />

If you want to carry forward not only source code but also work items and other TFS<br />

assets between releases, consider using one team project per application. When you use a<br />

single team project for multiple versions of the application, all of the TFS assets are<br />

carried forward automatically for you for the next release. When you are ready to release<br />

a new version of your application, you can create a branch <strong>with</strong>in the project to represent<br />

the release and isolate that code.<br />

If you choose to use one project per application, keep the following vulnerabilities in<br />

mind:<br />

• Releases in parallel are forced to share work item schemas, check in policies, and<br />

process guidance.<br />

• Reporting is more difficult. Because reports default to the entire project, you must<br />

add filtering by release.<br />

• If you have hundreds of applications, each in its own project, you will run up against<br />

TFS performance and scale limits.<br />

• You will accumulate ‘baggage’ over multiple releases. The easiest way to address this<br />

issue is to create a new project and then branch code you want to carry forward into<br />

that project.

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

Saved successfully!

Ooh no, something went wrong!