Migrating Web Projects and Solutions

Follow these steps to ensure a smooth migration of source controlled Web application components created in a previous version of Microsoft® Visual Studio.

To migrate a Visual Studio 7.x Web project to a file system-based or IIS-based Web project in Visual Studio 2005:
  1. Choose a team development model and a web development model. The team development model you select determines the branching and labeling strategies that your team uses to work on source files. The web development model you choose has an impact on the design and testing of web projects. For more information on recommended team development strategies, see Team Development Considerations. For more information on web development mapping, see Web Development Mapping Styles.
  2. In Windows® Explorer, open the folder (for example, Solution1) that contains the solution with the Visual Studio v7.x Web project that needs to be migrated.
  3. Create a new folder called "Solution1_VS2005", copy the contents of Solution1, and then paste the contents of Solution1 into the new folder. The IDE modifies the contents of the solution, project, and project items, so make sure the copied files are writable.
  4. Rename the solution file from "Solution1.sln" to "Solution1_VS2005.sln".
  5. Edit the solution file (Solution1_VS2005.sln) and remove the Global Section for Source Control. For example:
    Global Section (SourceCodeControl) = preSolution
    ....
    ....
    EndGlobalSection
  6. Depending on what Web development mapping model you selected in step 1, do one of the following:
    • If you are using file system-based mapping, in each Web project in the solution replace the solution name in the URL path.
    For example, in a solution that contains a Web project (WebApplication1), replace the URL path to include the new solution folder name as follows:
    Project ("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WebApplication1",
    "http://localhost/clearcaseview1/vob1/Solution1_VS2005/WebApplication1/WebApplication1.vbproj","{4108E8E1-BEB6-4F65-B7AB-E16543D5C821}"
    End Project
    • If you are using IIS-based mapping, in each Web project in the solution replace the solution name in the URL path.
    For example, for a solution that contains a Web project (WebApplication1), replace the URL path to include the new solution folder name as follows:
    Project ("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WebApplication1",
    "http://localhost/clearcaseview1/vob1/Solution1_VS2005/WebApplication1/WebApplication1.vbproj", "{4108E8E1-BEB6-4F65-B7AB-E16543D5C821}"
    End Project
    Note: We recommend you use file-system mapping in Visual Studio 2005.
  7. Migrate the solution.
    1. Open Visual Studio, click Tools > Options > Source Control, and select none as the current source control provider.
    2. Click File > Open Project/Solution, navigate to the Web project or solution you want to migrate (Solution1_VS2005), and click Open. The Visual Studio 2005 Migration Wizard opens.
    3. Complete the steps in the wizard to finish the migration process, then build and test your Web project.
    4. Close the solution, click Tools > Options > Source Control, and select Rational ClearCase as the current source control provider.
  8. Open the migrated solution by clicking FileOpen.
  9. In the Solution Explorer, right-click the solution and click Add the Solution to Rational ClearCase.
The migrated solution is added to Rational ClearCase source control.
Related concepts
Visual Studio Web Project Migration
Team Development Considerations
Web Development Mapping Styles