AotCrossCompile 1.0.0

dotnet add package AotCrossCompile --version 1.0.0
                    
NuGet\Install-Package AotCrossCompile -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AotCrossCompile" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AotCrossCompile" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AotCrossCompile" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AotCrossCompile --version 1.0.0
                    
#r "nuget: AotCrossCompile, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AotCrossCompile@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AotCrossCompile&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=AotCrossCompile&version=1.0.0
                    
Install as a Cake Tool

AotCrossCompile

MSBuild targets for cross-platform AOT (Ahead of Time) compilation with Native AOT support.

Features

  • Cross-platform AOT compilation from Windows to Linux
  • Automatic cleanup of debug symbols in Release builds
  • Support for both x64 and ARM64 architectures
  • Integration with clang for native compilation

Usage

Add the package reference to your project:

<PackageReference Include="AotCrossCompile" Version="1.0.0" />

The targets will automatically be applied when publishing with AOT enabled:

dotnet publish -c Release -r linux-x64

Supported Runtime Identifiers

  • linux-x64
  • linux-arm64
  • linux-musl-x64
  • linux-musl-arm64

Requirements

  • Windows host machine
  • .NET with Native AOT workload installed
  • clang toolchain (included in package)
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 130 8/20/2025