CppSharp 0.10.0
See the version list below for details.
dotnet add package CppSharp --version 0.10.0
NuGet\Install-Package CppSharp -Version 0.10.0
<PackageReference Include="CppSharp" Version="0.10.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="CppSharp" Version="0.10.0" />
<PackageReference Include="CppSharp"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add CppSharp --version 0.10.0
#r "nuget: CppSharp, 0.10.0"
#:package CppSharp@0.10.0
#addin nuget:?package=CppSharp&version=0.10.0
#tool nuget:?package=CppSharp&version=0.10.0
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.
The NuGet version is Windows 64-bit only for the time being. Binary 32-bit releases for Windows can be found at https://github.com/mono/CppSharp/releases .
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net is compatible. |
-
- Baseclass.Contrib.Nuget.Output (>= 2.4.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CppSharp:
| Package | Downloads |
|---|---|
|
Spout.NET
Spout.NET is a C# .NET Implementation for Spout2, A video frame sharing system. |
|
|
BindingGenerator
CppSharp based binding generator for dotnet |
|
|
Spout.NETCore
Package to invoke spout from c# |
GitHub repositories (6)
Showing the top 6 popular GitHub repositories that depend on CppSharp:
| Repository | Stars |
|---|---|
|
Ruslan-B/FFmpeg.AutoGen
FFmpeg auto generated unsafe bindings for C#/.NET and Core (Linux, MacOS and Mono).
|
|
|
ddobrev/QtSharp
Mono/.NET bindings for Qt
|
|
|
sdcb/OpenVINO.NET
High quality .NET wrapper for OpenVINO™ toolkit.
|
|
|
sdcb/Sdcb.FFmpeg
FFmpeg basic .NET API generated by CppSharp
|
|
|
allisterb/jemalloc.NET
A native memory manager for .NET
|
|
|
Dtronix/PDFiumCore
.NET Standard P/Invoke bindings for PDFium.
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.1.84.17100 | 760 | 11/19/2025 | |
| 1.1.5.3168 | 75,326 | 10/18/2023 | |
| 1.1.1.10805 | 7,827 | 10/18/2023 | |
| 1.0.76.8341 | 8,668 | 10/18/2023 | |
| 1.0.54.626 | 33,910 | 5/31/2023 | |
| 1.0.45.22293 | 29,585 | 2/6/2023 | |
| 1.0.1 | 62,598 | 12/30/2021 | |
| 1.0.0 | 19,394 | 10/12/2021 | |
| 0.11.2 | 21,219 | 2/4/2021 | |
| 0.11.1 | 9,420 | 2/3/2021 | |
| 0.11.0 | 9,629 | 1/29/2021 | |
| 0.10.5 | 35,125 | 6/27/2020 | |
| 0.10.4 | 2,579 | 5/23/2020 | |
| 0.10.3 | 4,758 | 4/9/2020 | |
| 0.10.2 | 6,101 | 3/28/2020 | |
| 0.10.1 | 7,919 | 7/4/2019 | |
| 0.10.0 | 3,197 | 6/25/2019 | |
| 0.9.2 | 3,191 | 5/7/2019 | |
| 0.9.1 | 2,593 | 4/13/2019 | |
| 0.9.0 | 8,117 | 3/1/2019 | |
| 0.8.23 | 2,851 | 1/31/2019 | |
| 0.8.22 | 4,701 | 9/24/2018 | |
| 0.8.21 | 3,538 | 8/1/2018 | |
| 0.8.20 | 3,572 | 5/25/2018 | |
| 0.8.19 | 4,094 | 2/4/2018 | |
| 0.8.18 | 4,293 | 1/27/2018 | |
| 0.8.17 | 3,455 | 12/25/2017 | |
| 0.8.16 | 3,692 | 11/10/2017 | |
| 0.8.15 | 2,900 | 11/7/2017 | |
| 0.8.14 | 4,582 | 9/17/2017 | |
| 0.8.13 | 3,500 | 7/18/2017 | |
| 0.8.12 | 2,851 | 7/18/2017 | |
| 0.8.11 | 3,676 | 6/4/2017 | |
| 0.8.10 | 3,340 | 4/23/2017 | |
| 0.8.9 | 2,925 | 4/16/2017 | |
| 0.8.8 | 2,839 | 4/9/2017 | |
| 0.8.7 | 3,065 | 3/27/2017 | |
| 0.8.6 | 3,446 | 3/4/2017 | |
| 0.8.5 | 2,882 | 3/4/2017 | |
| 0.8.4 | 3,769 | 2/10/2017 | |
| 0.8.3 | 3,006 | 2/5/2017 | |
| 0.8.2 | 2,963 | 1/25/2017 | |
| 0.8.1 | 3,125 | 1/22/2017 | |
| 0.8.0 | 2,722 | 1/22/2017 | |
| 0.7.13 | 2,937 | 1/16/2017 | |
| 0.7.12 | 3,394 | 11/17/2016 | |
| 0.7.11 | 2,830 | 11/13/2016 | |
| 0.7.10 | 2,776 | 11/11/2016 | |
| 0.7.9 | 3,136 | 11/2/2016 | |
| 0.7.8 | 3,029 | 11/1/2016 | |
| 0.7.7 | 3,027 | 11/1/2016 | |
| 0.7.6 | 3,127 | 10/28/2016 | |
| 0.7.5 | 3,001 | 10/27/2016 | |
| 0.7.4 | 2,862 | 10/25/2016 | |
| 0.7.3 | 2,847 | 10/1/2016 | |
| 0.7.2 | 3,145 | 9/17/2016 | |
| 0.7.1 | 2,799 | 9/13/2016 | |
| 0.7.0 | 2,773 | 9/12/2016 | |
| 0.6.0 | 2,754 | 6/24/2016 | |
| 0.5.2 | 2,973 | 6/17/2016 | |
| 0.5.1 | 2,920 | 6/17/2016 | |
| 0.5.0 | 2,879 | 6/14/2016 |
* Generate valid C# when passing a const ref to char
* Generate valid C# when a secondary base has a public anonymous field
* Generate valid C# when a method from a secondary base has no native symbol
* Generate valid C# for typedef-ed type parameters
* Ensure found type maps always contain the type sought after
* Flatten anonymous types to avoid empty names
* Generate valid C# for template parameters with a default value
* Fix returned objects by value attributed with inalloca
* Fix default arguments to only map to null if pointers
* Generate valid C# for returned const void pointers
* Fix regressions with void pointers and references
* Generate valid C# for r-values to void pointers
* Make the default build for Windows 64-bit
* Sped the LLVM build on Windows up by parallelizing
* Generate valid C# when a field with an anon type starts with '$'
* Generate valid C# when a function is named "get<number>"
* Enable Clang-based look-up for system includes by default