C#에서 Java로 번역기 – CodePorting.Translator Cs2Java 릴리스 25.4

릴리스 노트

All Changes

  1. [Feature] Add the ability to move a type to another package.
  2. [Feature] Add the ability to rename files to custom names.
  3. [Feature] Add support for “Local Function” statement.
  4. [Enhancement] Keep file names for files without public types.
  5. [Bug] An unary expression from a parenthesized expression does not take into account unsigned arithmetic.
  6. [Bug] Private accessors to public properties are made public.
  7. [Bug] Missing comments on API change wrappers of property accessors.
  8. [Bug] Property comments disappear if the property has no modifiers.
  9. [Bug] A read-only auto-property assignment expression is translated to a setter, but should be translated to the auto-field assignment.
  10. [Bug] Trailing trivia disappear from enum members.

아티팩트 다운로드

CodePorting.Translator Cs2Java 25.4

기존 C# 코드를 Java로 변환할 수 있는 CodePorting.Translator Cs2Java 도구를 포함합니다 추가됨: 2025. 4. 8.
다운로드 파일 크기: 67Mb

CodePorting.Translator Cs2Java 정보

CodePorting.Translator Cs2Java는 API나 코드 문서를 변경하지 않고도 두 언어에 동일한 버전의 소프트웨어를 출시하기 위해 C# 소스 코드를 Java로 자동 변환하는 데 도움이 되는 트랜스파일러 솔루션입니다. C# 프로젝트를 Java로 변환한 후 변환된 파일을 사용하여 Maven 프로젝트를 만듭니다. 그런 다음 CodePorting.Translator Java Class Library (JCL)에서 필요한 종속성을 추가하여 Maven 프로젝트를 구성합니다.

Maven 프로젝트에 CodePorting.Translator JCL 추가

간단한 설정으로 JCL을 직접 Maven 프로젝트에 쉽게 추가할 수 있습니다.

1. Maven 저장소 구성 지정

먼저 Maven pom.xml에서 CodePorting Maven 저장소 구성/위치를 다음과 같이 지정해야 합니다: <repositories> <repository> <id>codeporting</id> <name>CodePorting Maven Repository</name> <url>https://products.codeporting.com/translator/csharp-to-java/repo/</url> </repository> </repositories>

2. CodePorting.Translator JCL 종속성 정의

그런 다음 원래 C# 프로젝트에서 사용된 네임스페이스를 기반으로 pom.xml에서 CodePorting.Translator JCL 종속성을 다음과 같이 정의합니다: <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>

기타 릴리스

2025:
25.4
- 2025. 4. 8.
25.3
- 2025. 3. 4.
25.2
- 2025. 2. 5.
2024:
24.10
- 2024. 11. 1.
24.9
- 2024. 9. 18.