Working with Workspaces in TFS 2010 – Part 2

Hello my friends,

In my last post I was talking about workspaces in TFS 2010, lets continue today talking about how to get files quickly by using the default workspace, lets go!

When you work on files that are under version control in Team Foundation Server, you must use a workspace. When you first download, or “get,” local copies of files from Team Foundation Server, you specify a local folder for them. Although you may not notice at the time, this action creates a default workspace that maps the selected server folder with the selected local folder and saves that mapping.

To get files quickly by using the default workspace

  1. Open Visual Studio, and then connect to your team project.
  2. In Team Explorer, click Source Control.
  3. Right-click the team project, folder, or branch from which you want to download local      copies of files, and then click Map to Local Folder.
  4. The Map dialog box opens.
  5. Under Local folder, click the ellipses (…) to browse to a location that you want      to use for your local copies of server files.
  6. In the Browse for Folder dialog box, specify a location for your local copies.

For example, you might type C:\.

  1. Click Make New Folder, and type a name for the new folder into which your local      copies are downloaded.

For example, you might type Workspaces.

  1. In the Browse for Folder dialog box, click OK.
  2. In the Map dialog box, select the Recursive check box to download all files in      the folders under the server folder, and then click Map.
  3. In the message box that appears, click Yes to get the most recent versions of the mapped files.

Done!

to be continue…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s