Working with Workspaces in TFS 2010 – Part 2

Hello my friends,

I will talk in this post about creating a Workspace manually as the end part of “ Working with Workspaces in TFS 2010 Series“, let go!

You should create a workspace manually if you plan to work with version-controlled files frequently. A workspace that you create manually can be as simple as a single mapping between the top folder of a team project and a folder on your local computer. In contrast, a workspace can be a complex mapping of all subfolders from one folder, most subfolders from another folder, and selected subfolders from a third folder.

To map all subfolders under a folder, add it to the Source Control Folder column. In the Local Folder column, specify a unique local folder for the local copies of files.

To map some but not all subfolders under a folder, add it on one row, and add all subfolders that you do not want on subsequent rows. In the Local Folder column, specify a unique local folder for the local copies of files. In the Status column, click Cloaked for each subfolder.

To create a workspace manually

Determine which folders you want to work with.

Open Visual Studio, and then connect to your team project.

In Team Explorer, click Source Control.

Review the list of folders in Source Control Explorer, and note which folders and subfolders that you want to work with.

Create a workspace.

On the File menu, click Source Control, and then click Workspaces.

In the Manage Workspaces dialog box, click Add.

In the Add Workspace dialog box, type a name for the workspace.

For each folder that you want to map, perform the following steps:

Under Working folders, click the first empty row in the Source Control Folder column, and then click the ellipses (…).

In the Browse for Folder dialog box, click the folder on the server that contains the files that you want to work with, and then click OK.

(Optional) If you want to map some but not all subfolders in a folder, add it on one row and the subfolders that you do not want on subsequent rows. In the Status column, click Cloaked for each subfolder.

Under Working folders, click the first empty row in the Local Folder column, and then click the ellipses (…).

In the Browse for Folder dialog box, click the local folder into which you want to copy the files.

(Optional) Click Make New Folder, and type a name for the new folder where your local copies will be stored.

Click OK.

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