Sign inSign up

kodraus/bootleg-dotnet

By kodraus

•Updated almost 7 years ago

A minimal, bootleg dotnet toolchain for education/demo purposes

Image
0

726

kodraus/bootleg-dotnet repository overview

GitHub repository⁠

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:

Some tools you might be used to working with are notably absent:

  • dotnet
  • msbuild
  • nuget

That 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]

Tag summary

Content type

Image

Digest

Size

6.2 GB

Last updated

almost 7 years ago

docker pull kodraus/bootleg-dotnet