ComponentOne 3D Chart for WinForms
In This Topic
    Migrating a Chart Project to Visual Studio 2005
    In This Topic

    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. Secondly, the .licx file, or licensing file, must be updated in order for the project to run correctly.

    To convert the project:

    1. Open Visual Studio 2005 and select File, Open Project.
    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), select the project, and click the Show All Files button.
      Note: The Show All Files button does not appear in the Solution Explorer toolbar if the Solution project node is selected.
    9. Expand the References node, right-click C1.Common and select Remove. Also remove C1.Win.C1Chart3D the same way.
    10. Right-click the References node and select Add Reference.
    11. Locate and select C1.Win.C1Chart3D.4.dll. Click OK to add it to the project.

    To update the .licx file:

    1. In the Solution Explorer, right-click the licenses.licx file and select Delete.
    2. Click OK to permanently delete licenses.licx. The project must be rebuilt to create a new, updated version of the .licx file.
    3. Click the Start Debugging button to compile and run the project. The new .licx file may not be visible in the Solution Explorer.
    4. Select File, Close to close the form and then double-click the Form.vb or Form.cs file in the Solution Explorer to reopen it. The new licenses.licx file appears in the list of files.

    The migration process is complete.