Skip to main content
.NETStandard2.0

Templates for creating Clang projects using IKVM.Clang.Sdk

Published
Oct 11, 2026
8d ago
Total Downloads
1.2K
1,177

Install

dotnet add package IKVM.Clang.Templates --version 2.1.1
ProductVersions
.NET Standard
netstandard2.0

README

IKVM Clang Project Templates

This package provides .NET project templates for creating native C/C++ projects using the IKVM.Clang.Sdk.

Installation

Install the templates package:

dotnet new install IKVM.Clang.Templates

Available Templates

Clang Console Application

Creates a console executable project.

dotnet new clang -n MyApp

Clang Shared Library

Creates a shared library (DLL/SO) project.

dotnet new clanglib -n MyLibrary

Clang Static Library

Creates a static library project.

dotnet new clangstaticlib -n MyStaticLib

Building

Build your project using the standard .NET CLI:

dotnet build

Options

  • -n, --name: Name for the generated project (default: current directory name)
  • --Framework: Target framework (default: net10.0)

Examples

Create a console application:

dotnet new clang -n HelloWorld
cd HelloWorld
dotnet build

Create a shared library:

dotnet new clanglib -n MathLib
cd MathLib
dotnet build

Create a static library:

dotnet new clangstaticlib -n UtilsLib
cd UtilsLib
dotnet build

Requirements

  • IKVM.Clang.Sdk package
  • Clang/LLVM toolchain

Learn More

Changes from Previous Version

No structural changes between v2.1.0 and v2.1.1.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.