ktools-csharp/ is the C# workspace for the broader ktools ecosystem.
It is the root entrypoint for the C# implementations of the ktools libraries.
kcli/C# implementation of the CLI parsing layer.ktrace/C# implementation of the tracing/logging layer built on top ofkcli.
The shared build tool is kbuild, expected on PATH. If you need to modify
the shared build implementation itself, that repo lives at ../kbuild.
Use kbuild from PATH as the workspace entrypoint:
kbuild --batch --build-latest
kbuild --batch --clean-latestkbuild --batch is the safest way to build the full C# workspace because it
preserves dependency order: kcli before ktrace.
Use an individual child component when you only need one SDK:
cd kcli
kbuild --build-latestIf you build ktrace/ directly, build ../kcli/ first or ensure
../kcli/build/<slot>/sdk/lib/Kcli.dll already exists.
The C# backend currently expects the dotnet CLI to be available for actual builds.
Use the child component docs for API and implementation details: