C#からC++への変換ツール – CodePorting.Translator Cs2Cpp リリース 26.11

リリースノート

Breaking Changes

  1. Starting with this release, the old NRefactory-based C#-to-C++ porter is no longer included in the release package.

Major Features

  1. Added a partial port of System.Text.Json, supporting all major functions and options except those based on reflection. Implemented full DOM support (JsonDocument, JsonElement, etc.), along with streaming readers and writers, and standard and custom converters. Because reflection is not supported, using the library requires a JsonSerializerContext with the [JsonSerializable] attribute applied to every serializable type.

Minor fixes

  1. Added project restoration before and after the evaluation of global properties.
  2. Added -rs command line flag to skip any project restorations during translation.
  3. Added a fallback for glibc version detection.
  4. Preserved null string stream output behavior.
  5. Added GraphicsPath::Widen(Pen, Matrix) support.
  6. Implemented image color key rendering.
  7. Handled RGB565 image decoding.
  8. Updated the OpenSSL library to version 3.5.
  9. Added read-only collection interfaces.
  10. Added new LINQ routines.
  11. Added exceptions for invalid parameters.
  12. Added the EqualityComparer class and the non-generic IEqualityComparer interface.
  13. Added the Complex math type.
  14. Reworked NUnit equality logic.
  15. Added the CodePageProvider class.
  16. Added IConvertible support for boxed primitive types.
  17. Added covariant casts for the IReadOnlyCollection, IEnumerable, and IEnumerator interfaces.
  18. Added support for the negation (!) operator in severity rules.
  19. Automatically moved folded inheritors outside their folding parents.
  20. Added support for separate .inl files to move template definitions out of header files.
  21. Added StringAssert.Contains support.
  22. Added support for the default floating-point tolerance attribute in NUnit tests.
  23. Added support for fragment rules that use attributes to specify strict argument evaluation order or explicit casts for specific expressions.
  24. Improved automatic const_cast handling when this option is enabled.
  25. Fixed translation of Assert.Pass when called inside a subroutine.
  26. Added a stub for the AppDomain class.
  27. Added using static support.
  28. RSACryptoServiceProvider::VerifyHash and RSAPKCS1SignatureDeformatter::VerifySignature now retry verification using DigestInfo without NULL parameters (via EMSA3(Raw)) if the strict check fails. MD5 and other non-SHA hashes still require NULL.
  29. Because the deformatter keeps only a weak reference to the key, it now creates the fallback verifier in SetHashAlgorithm; callers may otherwise release the key before VerifySignature.
  30. Aligned clipping with antialiased drawing and matched GDI+ behavior for bicubic downscaling and 1-bit BMPs.
  31. Matched GDI+ in GraphicsPath.AddArc and dashed line caps.
  32. Snapped clip coordinates to 1/16-pixel increments, matching GDI+.

アーティファクトをダウンロードする

CodePorting.Translator Cs2Cpp 26.11

これは、既存の C# コードを C++ に変換できる CodePorting.Translator Cs2Cpp の完全なパッケージです。 追加: 2026/11/19
ダウンロード ファイルサイズ: 295Mb

CodePorting.Translator Cs2Cpp について

CodePorting.Translator Cs2Cpp は、API やコード ドキュメントを変更せずに両方の言語で同じバージョンのソフトウェアをリリースするために、C# ソース コードから C++ への変換を自動化するのに役立つトランスパイラー ソリューションです。 プロジェクトを変換した後、コードを CodePorting.Translator Cs2Cpp Framework にリンクしながらコンパイルする必要があります。これも NuGet 経由で利用できます。

その他のリリース

2026:
26.11
- 2026/11/19
26.10
- 2026/10/20
26.9
- 2026/09/15
26.8
- 2026/08/24
26.7
- 2026/07/17
26.6
- 2026/06/18
26.5
- 2026/05/18
26.4
- 2026/04/20
26.3
- 2026/04/13
26.2
- 2026/02/18
26.1
- 2026/01/23
2025:
25.12
- 2025/12/17
25.11
- 2025/11/26
25.10
- 2025/10/20
25.9
- 2025/09/18
25.8
- 2025/08/18
25.7
- 2025/07/22
25.6
- 2025/06/19
25.5
- 2025/05/19
25.4
- 2025/04/16
25.3
- 2025/03/17
25.2
- 2025/02/17
25.1
- 2025/01/21
2024:
24.12
- 2024/12/18
24.11
- 2024/11/19
24.10
- 2024/10/17
24.9
- 2024/09/16
24.8
- 2024/08/20
24.7
- 2024/07/29
24.6
- 2024/06/24
24.5
- 2024/05/16
24.4
- 2024/04/18
24.3
- 2024/03/14
24.2
- 2024/02/16
24.1
- 2024/01/19
2023:
23.12
- 2023/12/20
23.11
- 2023/12/01