ExcelDna.AddIn.NativeAOT 1.10.0-preview5

Prefix Reserved
This is a prerelease version of ExcelDna.AddIn.NativeAOT.

Requires NuGet 2.5 or higher.

dotnet add package ExcelDna.AddIn.NativeAOT --version 1.10.0-preview5
                    
NuGet\Install-Package ExcelDna.AddIn.NativeAOT -Version 1.10.0-preview5
                    
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="ExcelDna.AddIn.NativeAOT" Version="1.10.0-preview5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ExcelDna.AddIn.NativeAOT" Version="1.10.0-preview5" />
                    
Directory.Packages.props
<PackageReference Include="ExcelDna.AddIn.NativeAOT" />
                    
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 ExcelDna.AddIn.NativeAOT --version 1.10.0-preview5
                    
#r "nuget: ExcelDna.AddIn.NativeAOT, 1.10.0-preview5"
                    
#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 ExcelDna.AddIn.NativeAOT@1.10.0-preview5
                    
#: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=ExcelDna.AddIn.NativeAOT&version=1.10.0-preview5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ExcelDna.AddIn.NativeAOT&version=1.10.0-preview5&prerelease
                    
Install as a Cake Tool

ExcelDna.AddIn.NativeAOT

ExcelDna.AddIn.NativeAOT is preview support for publishing Excel-DNA add-ins with .NET Native AOT. It provides Native AOT-compatible Excel-DNA assemblies, a source generator, analyzers, native loader .xll files, and MSBuild targets that pack the published native output into an Excel add-in.

Use this package for Native AOT add-ins only. For ordinary managed Excel-DNA add-ins, use ExcelDna.AddIn.

dotnet add package ExcelDna.AddIn.NativeAOT --prerelease
dotnet publish -c Release -r win-x64

The package supports Windows x64 and x86 runtime identifiers. The publish target selects the matching Excel-DNA loader and creates the add-in output after Publish.

Native AOT has stricter runtime and reflection rules than managed .NET. Keep the project AOT-friendly, test the published .xll, and avoid referencing the ExcelDna.IntelliSense package directly from a Native AOT add-in. To use IntelliSense with a Native AOT add-in, deploy the standalone ExcelDna.IntelliSense .xll alongside it.

See the Excel-DNA Native AOT documentation and samples in the Excel-DNA repository for the current preview guidance.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • 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.10.0-preview5 0 7/6/2026
1.10.0-preview4 129 2/22/2026
1.10.0-preview1 97 2/14/2026