ClangSharp 12.0.0-beta1

.NET 5.0 .NET Core 3.1 .NET Standard 2.0
This is a prerelease version of ClangSharp.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 4.3 or higher.

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

// Install ClangSharp as a Cake Tool
#tool nuget:?package=ClangSharp&version=12.0.0-beta1&prerelease

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

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

NuGet packages (9)

Showing the top 5 NuGet packages that depend on ClangSharp:

Package Downloads

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


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.

Silk.NET.BuildTools The ID prefix of this package has been reserved for one of the owners of this package by

Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX.


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


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.

GitHub repositories (5)

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

Repository Stars
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
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
.NET (C#, VB.NET,...) bindings for libimobiledevice
A mocking library based on the Compiler APIs (Roslyn + Mocks)
A tool interoperate between CoreCLR and Il2Cpp at runtime
Version Downloads Last updated
16.0.0 1,871 6/21/2023
15.0.2 10,990 11/7/2022
15.0.0 1,083 9/18/2022
14.0.0-rc1 4,854 8/14/2022
14.0.0-beta3 164 7/15/2022
14.0.0-beta2 1,347 4/3/2022
13.0.0-beta1 1,824 12/2/2021
12.0.0-beta2 6,206 8/5/2021
12.0.0-beta1 375 5/29/2021
11.0.0-beta3 468 3/24/2021
11.0.0-beta2 983 2/12/2021
11.0.0-beta1 370 2/11/2021
10.0.0-beta 17,492 4/22/2020
9.0.0-beta 30,176 2/8/2020
8.0.0-beta 45,540 8/10/2019
3.8.0 17,100 7/10/2016
3.6.0 6,029 2/19/2015