CppSharp 0.11.2

CppSharp is a tool and set of libraries which allows programmers to use C/C++ libraries with high-level programming languages (such as C#).

It is a tool that takes C/C++ header and library files and generates the necessary glue to surface the native API as a managed API. Such an API can be used to consume an existing native library in your high-level code or add scripting support to a native codebase.

The supported target languages at present are C# and C++/CLI.

It can also be used as a library to parse native code into a syntax tree with a rich declaration and type information model.

Install-Package CppSharp -Version 0.11.2
dotnet add package CppSharp --version 0.11.2
<PackageReference Include="CppSharp" Version="0.11.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CppSharp --version 0.11.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CppSharp, 0.11.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CppSharp as a Cake Addin
#addin nuget:?package=CppSharp&version=0.11.2

// Install CppSharp as a Cake Tool
#tool nuget:?package=CppSharp&version=0.11.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Restore source backwards compatibility by making ILibrary an abstract class

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CppSharp:

Package Downloads
Spout.NET
Spout.NET is a C# .NET Implementation for Spout2, A video frame sharing system.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on CppSharp:

Repository Stars
Ruslan-B/FFmpeg.AutoGen
FFmpeg auto generated unsafe bindings for C#/.NET and Mono.
ddobrev/QtSharp
Mono/.NET bindings for Qt
allisterb/jemalloc.NET
A native memory manager for .NET

Version History

Version Downloads Last updated
0.11.2 5,763 2/4/2021
0.11.1 156 2/3/2021
0.11.0 217 1/29/2021
0.10.5 9,498 6/27/2020
0.10.4 573 5/23/2020
0.10.3 2,247 4/9/2020
0.10.2 2,432 3/28/2020
0.10.1 5,060 7/4/2019
0.10.0 646 6/25/2019
0.9.2 940 5/7/2019
0.9.1 635 4/13/2019
0.9.0 3,769 3/1/2019
0.8.23 755 1/31/2019
0.8.22 2,502 9/24/2018
0.8.21 1,266 8/1/2018
0.8.20 1,099 5/25/2018
0.8.19 1,614 2/4/2018
0.8.18 1,645 1/27/2018
0.8.17 1,026 12/25/2017
0.8.16 1,117 11/10/2017
0.8.15 702 11/7/2017
0.8.14 1,900 9/17/2017
0.8.13 1,142 7/18/2017
0.8.12 712 7/18/2017
0.8.11 1,417 6/4/2017
0.8.10 1,152 4/23/2017
0.8.9 799 4/16/2017
0.8.8 725 4/9/2017
0.8.7 897 3/27/2017
0.8.6 1,032 3/4/2017
0.8.5 752 3/4/2017
0.8.4 1,562 2/10/2017
0.8.3 763 2/5/2017
0.8.2 765 1/25/2017
0.8.1 701 1/22/2017
0.8.0 712 1/22/2017
0.7.13 756 1/16/2017
0.7.12 965 11/17/2016
0.7.11 675 11/13/2016
0.7.10 643 11/11/2016
0.7.9 652 11/2/2016
0.7.8 640 11/1/2016
0.7.7 636 11/1/2016
0.7.6 711 10/28/2016
0.7.5 681 10/27/2016
0.7.4 682 10/25/2016
0.7.3 740 10/1/2016
0.7.2 762 9/17/2016
0.7.1 670 9/13/2016
0.7.0 641 9/12/2016
0.6.0 748 6/24/2016
0.5.2 779 6/17/2016
0.5.1 691 6/17/2016
0.5.0 768 6/14/2016