A minimal, bootleg dotnet toolchain for education/demo purposes
649
A local debug build of some of the fundamental pieces of a dotnet toolchain:
csc: A C# to IL compiler from roslyn.ilc: An IL to native code compiler from corert.corerun: An entry point to the runtime from coreclr.ildasm: A tool for examining the IL in managed DLLs from coreclr.crossgen: An IL to Ready-to-run DLL compiler from coreclr (based on corert).r2rdump: A tool for examining the native code in Ready-to-run DLLs from coreclr.Other sources include:
corefx for build-time core libraries.llilc for LLVM dependencies used by ilc and crossgen.diagnostics for debugging managed code with lldb.Some tools you might be used to working with are notably absent:
dotnetmsbuildnugetThat seems pretty limiting... but there's still plenty of capability packed into the tools that are there! To give you an idea, this project includes its own bootleg dotnet-like CLI built on the same tools listed previously that dotnet itself uses. It's called dnb (which stands for Azure .NET Bootleg Core 5, to fit with expected .NET 5 naming):
$ dnb
Azure .NET Bootleg Core 5
Usage: dnb restore
Usage: dnb build [--restore] [--kind=il|r2r|aot]
Usage: dnb run [--restore] [--build=il|r2r|aot]
Content type
Image
Digest
Size
6.2 GB
Last updated
almost 7 years ago
docker pull kodraus/bootleg-dotnet