ClangSharp 15.0.2

.NET 6.0 .NET Standard 2.0

Requires NuGet 4.3 or higher.

dotnet add package ClangSharp --version 15.0.2
NuGet\Install-Package ClangSharp -Version 15.0.2
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="ClangSharp" Version="15.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClangSharp --version 15.0.2
#r "nuget: ClangSharp, 15.0.2"
#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 ClangSharp as a Cake Addin
#addin nuget:?package=ClangSharp&version=15.0.2

// Install ClangSharp as a Cake Tool
#tool nuget:?package=ClangSharp&version=15.0.2

ClangSharp are strongly-typed safe Clang bindings written in C# for .NET and Mono, tested on Linux and Windows.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on ClangSharp:

Package Downloads
CppAst

CppAst is a .NET library providing a C/C++ parser for header files with access to the full AST, comments and macros

DeepEnds.Console

DeepEnds is a tool written by Zeb Mason to perform dependency analysis on code in a hierarchical manner. It produces DGML files for visualisation of graphs within Visual Studio and computes various metrics which can be placed in a CSV file or a HTML report. The HTML report can be generated directly or via Doxygen and contains extra information about how the edges of the graphs are formed. Input can a mix of csproj, vbproj and .NET assemblies or a vcxproj or Doxygen XML output or even a DGML file. Run the exe without arguments for help.

ClangSharp.PInvokeGenerator

ClangSharp are strongly-typed safe Clang bindings written in C# for .NET and Mono, tested on Linux and Windows.

ClangSharp.Pathogen

This package exists primarily to support Biohazrd and is not intended for direct consumption. C# bindings for libclang Pathogen Extensions and other utilities for working with ClangSharp.

Biohazrd.Core

A framework for automatically generating bindings for C/C++ libraries. This package provides core functionality for parsing C/C++ libraries.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on ClangSharp:

Repository Stars
dotnet/Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
xoofx/CppAst.NET
CppAst is a .NET library providing a C/C++ parser for header files powered by Clang/libclang with access to the full AST, comments and macros
libimobiledevice-win32/imobiledevice-net
.NET (C#, VB.NET,...) bindings for libimobiledevice
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
Version Downloads Last updated
15.0.2 3,051 11/7/2022
15.0.0 841 9/18/2022
14.0.0-rc1 4,189 8/14/2022
14.0.0-beta3 127 7/15/2022
14.0.0-beta2 1,276 4/3/2022
13.0.0-beta1 1,354 12/2/2021
12.0.0-beta2 5,457 8/5/2021
12.0.0-beta1 321 5/29/2021
11.0.0-beta3 429 3/24/2021
11.0.0-beta2 653 2/12/2021
11.0.0-beta1 317 2/11/2021
10.0.0-beta 16,207 4/22/2020
9.0.0-beta 23,190 2/8/2020
8.0.0-beta 43,934 8/10/2019
3.8.0 16,383 7/10/2016
3.6.0 5,914 2/19/2015