ComponentOne PayPal eCommerce for ASP.NET: ComponentOne PayPal eCommerce for ASP.NET Overview > Migrating a PayPal eCommerce for ASP.NET Project to Visual Studio 2005

Migrating a PayPal eCommerce for ASP.NET Project to Visual Studio 2005

To migrate a project using ComponentOne components to Visual Studio 2005, there are two main steps that must be performed. First, you must convert your project to Visual Studio 2005, which includes removing any references to a previous assembly and adding a reference to the new assembly. Second, you must update the project References to use the new PayPal eCommerce for ASP.NET .dll.

To convert the project:

1.   Open Visual Studio 2005 and select File | Open | Project/Solution.

2.   Locate the .sln file for the project that you wish to convert to Visual Studio 2005. Select it and click Open. The Visual Studio Conversion Wizard appears.

3.   Click Next.

4.   Select Yes, create a backup before converting to create a backup of your current project and click Next.

5.   Click Finish to convert your project to Visual Studio 2005. The Conversion Complete window appears.

6.   Click Show the conversion log when the wizard is closed if you want to view the conversion log.

7.   Click Close. The project opens. Now you must remove references to any of the previous ComponentOne .dlls and add references to the new ones.

8.   Go to the Solution Explorer (View | Solution Explorer) and select the project node. Click the Properties button.

9.   The Properties Pages dialog box appears. Select C1.Web.C1PayPal reference and click Remove.

10.  Click Add Reference. Locate and select C1.Web.C1PayPal.2.dll. Click OK to add it to the project.

11.  Click OK to close the Property Pages dialog box.

To update each Web form:

1.   Open an .aspx file. Switch to Source view and locate the line at the top of the document that reads:

<%@ Register TagPrefix="cc1" Namespace="C1.Web.C1PayPal" Assembly="C1.Web.C1PayPal" %>

2.   Change it to read:

<%@ Register TagPrefix="cc1" Namespace="C1.Web.C1PayPal" Assembly="C1.Web.C1PayPal.2" %>

3.   Repeat for each .aspx file.

4.   Right-click the main .aspx page and select Set As Start Page.

5.   Click the Start Debugging button to compile and run the project.

The migration process is complete.


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.