ilc 1.0.0
See the version list below for details.
dotnet tool install --global ilc --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local ilc --version 1.0.0
#tool dotnet:?package=ilc&version=1.0.0
nuke :add-package ilc --version 1.0.0
dotnet-ilc
dotnet-ilc
is a simple .NET tool wrapper over the ilc
compiler provided by .NET 7.0 and higher, which is used for Native AOT (NAOT) compilation.
This tool is available under the NuGet package name ilc
. In order to install it, use the following command:
dotnet tool install -g ilc
The tool will automatically retrieve the right versions based on the .NET runtime that is used to invoke the tool. This means that you might experience a measurable delay the first time you launch the tool with a new .NET version.
Why a wrapper?
The internal NuGet packages used to store ilc
- runtime.<rid>.microsoft.dotnet.ilcompiler
- are meant to be used as project dependencies. These packages also supply various build specification files, which reference the stored ilc
binary.
This wrapper removes the need for scripts to manually locate the NuGet global packages folder, or to use hacks such as creating a temporary project just to install the internal package. It automatically determines the host system runtime ID and .NET version, and retrieves the right package. In case of an non-major .NET version upgrade, the tool will automatically retrieve new files.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
This package has no dependencies.