This repo contains CoreRT, a .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Updated paths to ILC in docs and fixed .vscode/launch.json (#4212) Jul 21, 2017
Documentation Update RyuJIT (#6797) Jan 15, 2019
buildpipeline R2R Test Release Build Fix (#6573) Nov 13, 2018
buildscripts R2R Test Release Build Fix (#6573) Nov 13, 2018
cross Add Bionic to sources.list for cross (#6417) Oct 2, 2018
pkg Include CppCodeGen headers in the IL Compiler package (#6457) Oct 16, 2018
samples Add native library sample (#6645) Dec 4, 2018
src [ILVerify]Include metadata token for type verifier (#6758) Jan 16, 2019
tests Disable invalid tests Jan 15, 2019
.editorconfig Add .editorconfig (#3001) Mar 17, 2017
.gitattributes Add *.in text eol=lf to .gitattributes (#2579) Jan 25, 2017
.gitignore Ready To Run Test Support (#6156) Aug 2, 2018
.gitmirrorall Enable mirroring Oct 28, 2015
BuildToolsVersion.txt Update buildtools Oct 12, 2018
DotnetCLIVersion.txt Fix build break in official build (#6326) Sep 13, 2018
LICENSE.TXT Update licensing headers Jan 28, 2016
NuGet.config Update unit test projects to netstandard2.0 (#6295) Sep 6, 2018
PATENTS.TXT Adding things to patents Nov 18, 2015
Packaging.props New ObjectWriter NuGet packaging scripts (#5667) Apr 9, 2018 Update CppCodegen status (#6812) Jan 11, 2019
THIRD-PARTY-NOTICES.TXT Update Lincense Info (#3615) May 15, 2017
build.cmd Fix rough edges after CLI update (#3983) Jun 27, 2017
build.proj Update CoreRT build to use latest .NET CLI and build tools (#3916) Jun 24, 2017 Split build scripts for CI (#2309) Dec 8, 2016
dependencies.props Update RyuJIT (#6797) Jan 15, 2019
dir.props Update to official XUnit 2.4 (#6299) Sep 7, 2018
dir.targets Update unit test projects to netstandard2.0 (#6295) Sep 6, 2018
dir.traversal.targets Fix "build.cmd clean" (#4095) Jul 7, 2017
init-tools.cmd Update to official XUnit 2.4 (#6299) Sep 7, 2018
init-tools.msbuild Rev netcoreapp2.0 to netcoreapp2.1 (#5974) Jun 21, 2018 Update to official XUnit 2.4 (#6299) Sep 7, 2018
netci.groovy Add ready-to-run CoreCLR tests to CI Aug 28, 2018

.NET Core Runtime (CoreRT)

This repo contains the .NET Core runtime optimized for ahead of time compilation. The CoreRT compiler can compile a managed .NET Core application into a native (architecture specific) single-file executable that is easy to deploy. It can also produce standalone dynamic or static libraries that can be consumed by applications written in other programming languages. To learn more about CoreRT, see the intro document.

Try Our Samples

If you would like to give CoreRT a try, we publish daily snapshots of CoreRT to MyGet. Using CoreRT is as simple as adding a new package reference to your .NET Core project and publishing it. Check out one of our samples: a "Hello World" console app, a simple ASP.NET Core app, a MonoGame game or a native library. The file in each sample's directory will guide you through the process step by step.

Platform Support

This is a work in progress. The current state of platform support:

  • Windows, MacOS and Linux x64 w/ RyuJIT codegen: Simple apps. Check our ASP.NET Core and MonoGame samples.
  • Linux ARM w/ RyuJIT codegen: ElmSharp Hello Tizen application (detailed status)
  • CppCodeGen (targets all platforms that support C++): Simple C# programs. The big missing features are garbage collection and exception handling.
  • WebAssembly: Early prototype that compiles and runs very trivial programs only. Many features are not yet implemented.

How to Engage, Contribute and Provide Feedback

Some of the best ways to contribute are to try things out, file bugs, and join in design conversations.

Looking for something to work on? The up for grabs issues are a great place to start. Take a look at our documentation to find out about the architecture and learn how to build and test the repo.

This project follows the .NET Core Contribution Guidelines.

Join the chat at

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.


The CoreRT Repo is licensed under the MIT license.

.NET Foundation

CoreRT is a .NET Foundation project.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

Related Projects

There are many .NET related projects on GitHub.

Build Status

Ubuntu 14.04 Windows Mac OS X
Debug Build status Build status Build Status
Release Build status Build status Build Status