Converting Java Applications to C#
It is easy to convert a Java project to C# by using VS.NET. Below is the procedure:
Java-Language Projects
To convert a Java-language project
Start Visual Studio .NET
On the File menu, point to Open, and click Convert.
Select Java Language Conversion Assistant, and click OK.
On the Source Files page, click A directory containing the project's files.
On the Select source directory page, click Browse.
Browse to the correct project, and select it.
Note You will not see the files in the directory you select, but all .jav and .java files in it will be converted. All other files in the directory are ignored.
On the Configure your new project page, specify the following:
Name of the project to be created.
Directory in which the any additional files for your project are located.
Note You will not see the files in the directory you select, but all .jav and .java files in it will be converted. All other files in the directory are ignored.
Output type of the project.
On the Specify a directory for your new project page, specify the name and directory of the new project to be created.
On the Begin your conversion page, click Next.
Fix code that could not be converted automatically. For more information, see Manually Upgrading Unconverted Code.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home