Migration Project Setup
Prerequisites
Before setting up the migration project, it is necessary to install and correctly
configure the MS Team Foundation Client. Instructions can be found at the following
URL:
http://msmvps.com/blogs/vstsblog/archive/2009/01/09/installing-amp-configuring-team-foundation-client-aka-team-explorer.aspx
Create a new Team System Project.
To create a new Team System Project in Visual Studio 2005, follow these steps:
-
1. Go to the File Menu. Select New
and then Team Project to start a wizard.

-
2. The “Specify the Team Project Settings” window of
the New Team Project wizard appears. Type the Team Project name.
For example type MergeExample and click Next.

-
3. Select the Template for the Team Project. We
recommend using the ArtinSoft Migration Methodology – v0.8 or later.
Click Next.
-
4. Type the Title for the Team Project Portal.
This document will use MergeExample. Click Next

-
5. Select your source control settings. Select the first option
(Create an empty source control folder), and click Next
-
6. Click Finish when the summary of your Team Project settings is presented.

-
7. Wait while the project is created. It will take a few minutes.

Configure Visual Studio to use Team System
1. Start Microsoft Visual Studio 2005
2. Go to File->Open->Team Project...

3. A Dialog will open to choose the Foundation Server and the Team Project to use. This example uses a project called MergeExample. Click OK.

-
4. Team Explorer will open with the selected project. Expand the elements for the MergeExample project previously selected.

-
5. Map the local directories to the source control system. On the expanded tree, Double Click on the Source Control Node

-
6. The Source Code Explorer will open:

-
7. In the Workspaces dropdown box select Workspaces...

-
8. In the Manage Workspace dialog select the appropriate workspace. Click Edit...

-
9. In the Edit Workspace dialog, type a description for your source control and select the source control Folder created previously ($/MergeExample) and the directory in the local file system where the code is stored (C:\MergeExample).

Initial Check in
The next step is to check in the Visual Basic 6.0 source code that will be migrated
-
1. In the Source Code Explorer Click on Add Files:

-
2. Click Add Folder and select the folder with the VB6 files

-
3. After selecting the folder, Visual Studio shows a list of files contained in the directory. Unnecessary files, such as MSSCCPRJ.SCC, should be removed. Click OK when done.

-
4. To commit the code to the Source Code Repository, on the Source Code Explorer, right click on Source Control Folder (for this example it is MergeExample) and select Check In Pending Changes...

- 5.Write an appropriate comment and press Check In
See Also