This documentation is archived and is not being maintained.

How to: Convert a Visual J++ Project

Visual Studio 2005

Visual J# includes the Visual J# Upgrade and Conversion Wizards to assist you in converting your projects from Visual J++ 6.0 to Visual J#. The following example shows you how to open and convert your own Visual C++ project. First the J# Upgrade Wizard creates the project framework. Then the Conversion wizard compiles the application based on the project type you select.

To open a Visual J++ project

  1. On the File menu, click Open Project.

  2. From the Open Project window, choose the project (.vjp) or solution (.sln) you want to convert, and click Open.

    The Visual J# Conversion Wizard Welcome window is displayed.

  3. Click Next.

  4. In the Location for Backup field, identify the directory where the Upgrade Wizard can store your original project. Click Next.

    It is helpful to store the backup in the same directory as the project that you are converting.

  5. Click Finish.

    The Visual J# Conversion Wizard automatically converts the project to Visual J# and provides the status of the conversion.

  6. If errors occur during the conversion, click on the link to review the errors and remarks.


    Click Close.

  7. After the conversion completes, on the Project menu, click Project Reload.

    The project refreshes with the new J# project, and starts the J# Upgrade Wizard.

  8. On the Upgrade Wizard Welcome page, click Next.

  9. On the Choose Project Type page, select Console Application, Windows Application, or Class Library to compile the type of application you want. Click Next.

  10. On the Add References to Project page, click Browse to create links to any .NET Framework or COM libraries that your application uses.

  11. Click Next, and then click Finish.

    The compiler builds the assembly and places it in the bin\debug directory.

See Also