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

这是 CodePorting.Translator Cs2Cpp 的完整包,允许将现有 C# 代码转换为 C++ 添加: 2026/11/19
下载 文件大小: 295Mb

关于 CodePorting.Translator Cs2Cpp

CodePorting.Translator Cs2Cpp 是一个转译器解决方案,可以帮助您自动将 C# 源代码转换为 C++,以便在不更改 API 或代码文档的情况下为两种语言发布相同版本的软件。 转换项目后,您需要编译代码,同时将其链接到 CodePorting.Translator Cs2Cpp Framework(也可以通过 NuGet 获得)。

其他发布

2026:
26.11
- 2026/11/19
26.10
- 2026/10/20
26.9
- 2026/9/15
26.8
- 2026/8/24
26.7
- 2026/7/17
26.6
- 2026/6/18
26.5
- 2026/5/18
26.4
- 2026/4/20
26.3
- 2026/4/13
26.2
- 2026/2/18
26.1
- 2026/1/23
2025:
25.12
- 2025/12/17
25.11
- 2025/11/26
25.10
- 2025/10/20
25.9
- 2025/9/18
25.8
- 2025/8/18
25.7
- 2025/7/22
25.6
- 2025/6/19
25.5
- 2025/5/19
25.4
- 2025/4/16
25.3
- 2025/3/17
25.2
- 2025/2/17
25.1
- 2025/1/21
2024:
24.12
- 2024/12/18
24.11
- 2024/11/19
24.10
- 2024/10/17
24.9
- 2024/9/16
24.8
- 2024/8/20
24.7
- 2024/7/29
24.6
- 2024/6/24
24.5
- 2024/5/16
24.4
- 2024/4/18
24.3
- 2024/3/14
24.2
- 2024/2/16
24.1
- 2024/1/19
2023:
23.12
- 2023/12/20
23.11
- 2023/12/1