ClangSharp 3.8.0

.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package ClangSharp --version 3.8.0
NuGet\Install-Package ClangSharp -Version 3.8.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="ClangSharp" Version="3.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClangSharp --version 3.8.0
#r "nuget: ClangSharp, 3.8.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 ClangSharp as a Cake Addin
#addin nuget:?package=ClangSharp&version=3.8.0

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

Libclang bindings for .NET written in C#

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (7)

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 (4)

Showing the top 4 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)
Version Downloads Last updated
15.0.2 6,267 11/7/2022
15.0.0 952 9/18/2022
14.0.0-rc1 4,766 8/14/2022
14.0.0-beta3 136 7/15/2022
14.0.0-beta2 1,304 4/3/2022
13.0.0-beta1 1,531 12/2/2021
12.0.0-beta2 5,680 8/5/2021
12.0.0-beta1 333 5/29/2021
11.0.0-beta3 444 3/24/2021
11.0.0-beta2 694 2/12/2021
11.0.0-beta1 333 2/11/2021
10.0.0-beta 16,752 4/22/2020
9.0.0-beta 24,924 2/8/2020
8.0.0-beta 44,694 8/10/2019
3.8.0 16,637 7/10/2016
3.6.0 5,959 2/19/2015

Updated to Clang 3.8.0