C# to Java Translator – CodePorting.Translator Cs2Java Release 25.2

Release Notes

All Changes

  1. Add ability to specify destination path for each project
  2. Implement project filtering.
  3. Add property documentation comment conversion for getter and setter.
  4. Improve the translation of <example> and <code> tags in xml documentation comments
  5. Improve the translation of <inheritdoc> tag in xml documentation comments
  6. Improve the translation of Obsolete attribute

Download Artifacts

CodePorting.Translator Cs2Java 25.2

Contains the CodePorting.Translator Cs2Java tool, which allows converting existing C# code to Java Added: 2/5/2025 Downloads: 31
Download File Size: 67Mb

About CodePorting.Translator Cs2Java

CodePorting.Translator Cs2Java is a transpiler solution that can help you automate the conversion of C# source code to Java in order to release the same version of the software for both languages without changing the APIs or code documentation. After converting the C# project to Java, create a Maven project using the converted files. Next, configure your Maven project by adding the necessary dependencies from the CodePorting.Translator Java Class Library (JCL).

Adding CodePorting.Translator JCL to the Maven Project

You can easily add JCL directly to your Maven project with simple configurations.

1. Specifying Maven Repository Configuration

First, you need to specify the CodePorting Maven Repository configuration/location in your Maven pom.xml as follows: <repositories> <repository> <id>codeporting</id> <name>CodePorting Maven Repository</name> <url>https://products.codeporting.com/translator/csharp-to-java/repo/</url> </repository> </repositories>

2. Defining CodePorting.Translator JCL Dependency

Then, based on the namespaces used in the original C# project, define CodePorting.Translator JCL dependencies in your pom.xml as follows: <dependencies> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>mscorlib</artifactId> <version>24.7.0</version> </dependency> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>System</artifactId> <version>24.7.0</version> </dependency> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>System.Security</artifactId> <version>24.7.0</version> </dependency> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>System.Xml</artifactId> <version>24.7.0</version> </dependency> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>System.Net</artifactId> <version>24.7.0</version> </dependency> <dependency> <groupId>com.aspose.ms.jdk.NetFramework</groupId> <artifactId>System.Drawing</artifactId> <version>24.7.0</version> </dependency> </dependencies>

Other Releases

2025:
25.2
- 2/5/2025
2024:
24.10
- 11/1/2024
24.9
- 9/18/2024