ClangSharp 20.1.2.2
See the version list below for details.
Requires NuGet 4.3 or higher.
dotnet add package ClangSharp --version 20.1.2.2
NuGet\Install-Package ClangSharp -Version 20.1.2.2
<PackageReference Include="ClangSharp" Version="20.1.2.2" />
<PackageVersion Include="ClangSharp" Version="20.1.2.2" />
<PackageReference Include="ClangSharp" />
paket add ClangSharp --version 20.1.2.2
#r "nuget: ClangSharp, 20.1.2.2"
#:package ClangSharp@20.1.2.2
#addin nuget:?package=ClangSharp&version=20.1.2.2
#tool nuget:?package=ClangSharp&version=20.1.2.2
ClangSharp are strongly-typed safe Clang bindings written in C# for .NET and Mono, tested on Linux and Windows.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
- 
                                                    net10.0- ClangSharp.Interop (>= 20.1.2.2)
 
NuGet packages (10)
Showing the top 5 NuGet packages that depend on ClangSharp:
| Package | Downloads | 
|---|---|
| CppAst.cgnx CppAst is a .NET library providing a C/C++ parser for header files with access to the full AST, comments and macros | |
| CppAst CppAst is a .NET library providing a C/C++ parser for header files with access to the full AST, comments and macros | |
| ClangSharp.PInvokeGenerator ClangSharp are strongly-typed safe Clang bindings written in C# for .NET and Mono, tested on Linux and Windows. | |
| Silk.NET.BuildTools 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. | |
| 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. | 
GitHub repositories (9)
Showing the top 9 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.
                                                         | |
| MonoMod/MonoMod 
                                                            C# modding swiss army knife, powered by cecil.
                                                         | |
| 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
                                                         | |
| Librelancer/Librelancer 
                                                            A re-implementation of Freelancer
                                                         | |
| JasonBock/Rocks 
                                                            A mocking library based on the Compiler APIs (Roslyn + Mocks)
                                                         | |
| libimobiledevice-win32/imobiledevice-net 
                                                            .NET (C#, VB.NET,...) bindings for libimobiledevice
                                                         | |
| BepInEx/Il2CppInterop 
                                                            A tool interoperate between CoreCLR and Il2Cpp at runtime
                                                         | |
| raulsntos/godot-dotnet | |
| HebronFramework/Hebron 
                                                            Framework for converting C libraries to other languages
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 20.1.2.4 | 271 | 10/15/2025 | 
| 20.1.2.3 | 406 | 9/1/2025 | 
| 20.1.2.2 | 251 | 8/19/2025 | 
| 20.1.2.1 | 2,687 | 5/24/2025 | 
| 20.1.2 | 7,814 | 5/11/2025 | 
| 18.1.0.4 | 4,617 | 4/8/2025 | 
| 18.1.0.3 | 5,809 | 1/15/2025 | 
| 18.1.0.2 | 8,579 | 9/26/2024 | 
| 18.1.0.1 | 3,097 | 7/21/2024 | 
| 18.1.0 | 6,615 | 5/15/2024 | 
| 17.0.1 | 29,069 | 12/15/2023 | 
| 17.0.0 | 3,966 | 11/24/2023 | 
| 16.0.0 | 28,518 | 6/21/2023 | 
| 15.0.2 | 107,504 | 11/7/2022 | 
| 15.0.0 | 1,643 | 9/18/2022 | 
| 14.0.0-rc1 | 5,158 | 8/14/2022 | 
| 14.0.0-beta3 | 425 | 7/15/2022 | 
| 14.0.0-beta2 | 1,914 | 4/3/2022 | 
| 13.0.0-beta1 | 2,519 | 12/2/2021 | 
| 12.0.0-beta2 | 7,143 | 8/5/2021 | 
| 12.0.0-beta1 | 642 | 5/29/2021 | 
| 11.0.0-beta3 | 697 | 3/24/2021 | 
| 11.0.0-beta2 | 1,277 | 2/12/2021 | 
| 11.0.0-beta1 | 648 | 2/11/2021 | 
| 10.0.0-beta | 24,210 | 4/22/2020 | 
| 9.0.0-beta | 42,039 | 2/8/2020 | 
| 8.0.0-beta | 55,491 | 8/10/2019 | 
| 3.8.0 | 18,811 | 7/10/2016 | 
| 3.6.0 | 6,891 | 2/19/2015 |