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.

Additional Resources<br />

• For more information about project references, see “Project References” at<br />

http://msdn2.microsoft.com/en-us/library/ez524kew(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 workspaces, see http://msdn2.microsoft.com/enus/library/ms181383(VS.80).aspx<br />

What is a workspace?<br />

A workspace is a client-side copy of the files and folders on the TFS version control<br />

server. Local pending changes are isolated <strong>with</strong>in your workspace until you check these<br />

changes into the server as an atomic unit (referred to as a changeset). A single workspace<br />

can contain references to multiple team projects. You can use multiple workspaces to<br />

isolate files or versions for your use only.<br />

Note: Workspaces are created per machine, per user account. Therefore, you can have<br />

different workspace definitions for each computer you use. Also, you can have multiple<br />

workspaces on a single computer by using multiple user accounts to log onto the<br />

computer.<br />

Additional Resources<br />

• For more information about workspaces, see http://msdn2.microsoft.com/enus/library/ms181383(VS.80).aspx<br />

How do I use workspaces to isolate the work of a developer?<br />

As a developer, you can create two workspaces: one containing references to files and<br />

folders being worked on by the rest of the team, and another containing files and folders<br />

that you want to isolate. You might want to isolate these files in order to evolve specific<br />

files in parallel <strong>with</strong> work that is happening elsewhere. For example, you can use this<br />

approach to work on risky pending changes, or to conduct a code review.<br />

Additional Resources<br />

• For more information about workspaces, see http://msdn2.microsoft.com/enus/library/ms181383(VS.80).aspx<br />

What are the proven practices for workspace mapping?<br />

Workspace mapping is the means by which you map files and folders on the server to a<br />

location on your local hard drive.<br />

Consider the following practices for creating workspace mappings:<br />

• Create mappings at the team project root level. For new team projects, map your<br />

team project root ($/My<strong>Team</strong>Project) to a folder <strong>with</strong> the same name on your local<br />

drive; for example, C:\<strong>Team</strong>Projects. Because mappings are recursive, your entire<br />

local folder structure is created automatically and will be exactly the same as the<br />

structure in source control.

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

Saved successfully!

Ooh no, something went wrong!