CodePorting.Translator.Cs2Cpp.Framework 24.7.0

dotnet add package CodePorting.Translator.Cs2Cpp.Framework --version 24.7.0                
NuGet\Install-Package CodePorting.Translator.Cs2Cpp.Framework -Version 24.7.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodePorting.Translator.Cs2Cpp.Framework" Version="24.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodePorting.Translator.Cs2Cpp.Framework --version 24.7.0                
#r "nuget: CodePorting.Translator.Cs2Cpp.Framework, 24.7.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CodePorting.Translator.Cs2Cpp.Framework as a Cake Addin
#addin nuget:?package=CodePorting.Translator.Cs2Cpp.Framework&version=24.7.0

// Install CodePorting.Translator.Cs2Cpp.Framework as a Cake Tool
#tool nuget:?package=CodePorting.Translator.Cs2Cpp.Framework&version=24.7.0                


CodePorting.Translator Cs2Cpp is a framework capable of translating C# code to C++. The resulting code provides the same API original .Net code had and can run in the translated (unmanaged) C++ environment.

CodePorting.Translator.Cs2Cpp.Framework package contains a C++ Library with a substitution for .Net classes and some service code. The translated code is ultimately dependent on this component.

If you use the full CodePorting.Translator Cs2Cpp package to translate your code, this library is already included in it, and you don't need to manage this dependency manually as the translator will generate CMake project files with proper references. However, if you're planning to distribute your translated code, providing the dependency on CodePorting.Translator.Cs2Cpp.Framework Nuget package (where applicable) is the easiest way to do so. Alternatively, you may ask your clients to download respectful CodePorting.Translator.Cs2Cpp packages from the CodePorting website.

Always make sure that the version of the translator used to translate your code matches the version of the CodePorting.Translator.Cs2Cpp.Framework package you use. Failing to do so can result in compilation and/or runtime errors, since the API may change between the versions.


The types from this package can be used in the client's code to interact with the translated code. Please make sure to use proper smart pointer wrappers for class-like types. For more information, please refer to the product documentation.

#include <system/string.h>
#include <system/console.h>
#include <system/collections/list.h>
#include <MyTranslatedProject/MyTranslatedClass.h>

using namespace System;
using namespace System::Collections::Generic;
using namespace MyTranslatedProject;

int main(int, char*[])
    auto list = MakeObject<List<String>>();

    auto myobj = MakeObject<MyTranslatedClass>();
    list = myobj->Process(list);

    for (const auto &item : list)
    return 0;


Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on CodePorting.Translator.Cs2Cpp.Framework:

Package Downloads

Aspose.PDF for C++ is a native C++ library that enables the developers to add PDF handling capabilities to their C++ applications. Aspose.PDF for C++ API can be used to build C++ applications which are capable of reading, writing, rendering, printing, and converting PDF documents (PDF, PDF/A). You can also work with attachments, images, security, signatures, text, and tables. Aspose.PDF for C++ allows you to extract text from all pages of a PDF document, set privileges on a PDF file, work with bookmarks and annotations. It also gives you vast control over customizing the PDF display properties, fonts, zoom fact, and content formatting. Text search feature is also available. You can convert PDF documents to the DOC, DOCX, and SVG formats by simply calling the designated C++ methods. Aspose.PDF for C++ performs equally well at the client-end and server-side. It can be used in the development environment that supports C++ but explicitly supports MS Visual Studio 2015 or later. Aspose.PDF for C++ can be installed manually by downloading its ZIP package or it (Aspose.PDF.CPP) can be added via NuGet Package Manager. Support for Qt framework is also available.


Aspose.Slides for C++ is a robust API for enhancing your C++ applications with the Microsoft PowerPoint and OpenDocument presentation manipulation features for a large variety of file formats (PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM, ODP, OTP, etc). Once you seamlessly integrate our API, your C++ Apps will not need any 3rd party component or software to be installed. Apart from presentation file creation, loading, conversion, merging, and printing you can also perform content formatting. Render slides, as well as the images on slides in various image formats (PNG, BMP, JPEG, etc). Add, format, modify, compare and clone slides as well as their layouts. Work with charts, shapes, SmartArt, tables, and text. Aspose.Slides for C++ also helps you with fine-tuning the 3D aspects of PowerPoint presentations (rotation, depth, extrusion, gradient, WordArt). Aspose.Slides for C++ supports both 32-bit and 64-bit Microsoft Windows as well as 64-bit Linux and macOS. Other versions: Aspose.Slides for C++ 32-bit library -


Aspose.Words for C++ is a Document Processing library that allows developers to work with documents in many popular formats without needing Office Automation. Users can perform a wide variety of document tasks, ranging from simply converting documents from one supported format to another and modifying these documents during the conversion process, to business-oriented tasks, such as creating structured and visually appealing documents or automating reporting with complex templates and data-bound fields.


Aspose.PUB for C++ is a native C++ library that enables the developers to add pub converting to their C++ applications. The library allows convert pub document to pdf.


Aspose.Email for C++ is a native C++ library that enables C++ developers to create, manipulate and convert Outlook and other popular emailing file formats. The API is independent of Office Automation or MS Outlook, and doesn't need these to be installed on the server. The API can be used on Windows OS for working with emailing file formats. Developers can use the API to transmit messages via a number of popular protocols like POP3, IMAP, SMTP

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.7.0 166 7/12/2024
24.6.0 1,409 6/19/2024
24.5.0 1,831 5/16/2024
24.4.0 2,443 4/18/2024
24.3.0 2,903 3/14/2024
24.2.0 4,138 2/16/2024
24.1.0 11,411 1/19/2024
23.12.0 4,412 12/20/2023
23.11.0 4,876 11/17/2023
23.10.0 5,608 10/13/2023
23.9.0 6,449 9/16/2023
23.8.0 5,446 8/15/2023
23.7.0 4,023 7/18/2023
23.6.0 7,345 6/16/2023
23.5.0 6,954 5/19/2023
23.4.0 6,286 4/13/2023
23.3.0 11,405 3/20/2023
23.2.0 8,280 2/15/2023
23.1.0 8,749 1/20/2023
22.12.0 12,581 12/16/2022
22.11.0 9,172 11/15/2022
22.10.0 12,923 10/20/2022
22.9.0 12,558 9/14/2022
22.8.0 11,458 8/16/2022
22.7.0 14,104 7/19/2022
22.6.0 12,321 6/16/2022