Monday, November 26, 2012

STEPS TO MIGRATE VSS 6.0 PROJECTs TO TFS 2010


STEPS TO MIGRATE VSS 6.0 PROJECTs TO TFS 2010

Step 1: Keep your “Data” Directory of VSS 6.0 ready and importantly “VS 2005 should not be installed on the same machine”.

Step 2: Bind the “Data” Directory to VSS 6.0.

Step 3: Once Bind verify the Projects.

Step 4: Uninstall VSS 6.0 from machine > Restart if required (Recommended).

Step 5: Install VS 2005.

Step 6: Install VSS 2005 + SP1

Step 7: Verify the project in VSS 2005

Step 8: Create “settings.xml” file with the below mentioned content

     
           
                  C:\VSSDatabase
">
           
           
            $/FolderA
">
           
     
     
      
    

You need to have following .dll files at same directory where above file is created:
1.       Microsoft.TeamFoundation.Client.dll
2.       Microsoft.TeamFoundation.Common.dll
3.       Microsoft.TeamFoundation.dll
4.       Microsoft.TeamFoundation.VersionControl.Client.dll
5.       Microsoft.TeamFoundation.VersionControl.Common.dll
6.       Microsoft.TeamFoundation.WorkItemTracking.Client.dll
Above .dll files can be found at C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0


Step 9: Once above file is created, run the following command in Visual Studio Command Prompt > VSSConverter Analyze settings.xml

            It will create Analysis.xml output file, which will be used for Migration to TFS

Step 10: Now, Create “tfs_migration.xml” file with the below mentioned content

     
           
                  C:\VSSDatabase
">
                  C:\Migrate\Usermap.xml
">
           
           
                  $/FolderA
" Destination="$/TeamProjectA">
           
     
     
            server_name
" port="port_number" protocol="protocol" collection="tfs/DefaultCollection">
     

Step 11: Create a project in TFS named TeamProjectA (if project not created mentioned in above file)

Step 12: Run Command “VSSConverter Migrate tfs_migration.xml” in VS Command Prompt.



No comments:

Post a Comment