ExcelDna.AddIn 1.10.0-preview5

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

Requires NuGet 2.5 or higher.

dotnet add package ExcelDna.AddIn --version 1.10.0-preview5
                    
NuGet\Install-Package ExcelDna.AddIn -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" 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" Version="1.10.0-preview5" />
                    
Directory.Packages.props
<PackageReference Include="ExcelDna.AddIn" />
                    
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 --version 1.10.0-preview5
                    
#r "nuget: ExcelDna.AddIn, 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@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&version=1.10.0-preview5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ExcelDna.AddIn&version=1.10.0-preview5&prerelease
                    
Install as a Cake Tool

ExcelDna.AddIn

Excel-DNA lets you build native Excel .xll add-ins with .NET. Add-ins can expose worksheet functions, macros, ribbon UI, RTD servers, custom task panes, and asynchronous functions while being distributed as ordinary Excel add-in files.

This is the main package for building a standard Excel-DNA add-in. It adds the Excel-DNA build targets, native 32-bit and 64-bit Excel loaders, the packing task, and a reference to ExcelDna.Integration.

dotnet add package ExcelDna.AddIn

Add a function to your project:

using ExcelDna.Integration;

public static class Functions
{
    [ExcelFunction(Description = "Returns a friendly greeting.")]
    public static string HelloDna(string name)
    {
        return "Hello " + name;
    }
}

Build the project, then load the generated .xll from Excel. The build output includes unpacked add-ins for debugging and packed add-ins for redistribution:

  • <ProjectName>-AddIn.xll and <ProjectName>-AddIn64.xll
  • <ProjectName>-AddIn-packed.xll and <ProjectName>-AddIn64-packed.xll

For most deployments, distribute the packed .xll files. They can be renamed to suit your product.

Excel-DNA supports .NET Framework 4.6.2 to 4.8.1 and modern .NET Windows targets. Documentation, examples, and troubleshooting notes are available at https://excel-dna.net and https://github.com/Excel-DNA/ExcelDna.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on ExcelDna.AddIn:

Package Downloads
Excel-DNA

This NuGet package is deprecated, and used for compatibility only. The basic Excel-DNA NuGet package is now called ExcelDna.AddIn.

MYTBD005

this is the description

OpenFin.Excel

OpenFin Desktop Runtime Excel Adapter

AddinX.Ribbon.ExcelDna

Fluent ribbon builder for Excel-DNA. It simplifies the creation of the ribbon with Excel-DNA so you don't have to write XML or to create the callback methods.

TradingSolutions.Excel

Package Description

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on ExcelDna.AddIn:

Repository Stars
getcellm/cellm
Use LLMs in Excel formulas
Excel-DNA/IntelliSense
Add in-sheet IntelliSense for Excel UDFs
RusselWebber/xlDuckDb
Use DuckDB within Excel with the xlDuckDb addin
Excel-DNA/Samples
Various sample projects and snippets related to Excel-DNA
Version Downloads Last Updated
1.10.0-preview5 0 7/6/2026
1.10.0-preview4 2,007 2/22/2026
1.10.0-preview1 238 2/14/2026
1.9.0 56,855 9/18/2025
1.9.0-rc6 1,282 9/4/2025
1.9.0-rc5 585 8/17/2025
1.9.0-rc4 244 8/15/2025
1.9.0-rc3 908 7/14/2025
1.9.0-rc2 881 7/1/2025
1.9.0-rc1 445 6/23/2025
1.9.0-beta2 2,528 4/5/2025
1.9.0-beta1 1,375 2/2/2025
1.9.0-alpha3 2,541 11/16/2024
1.9.0-alpha2 7,897 8/14/2024
1.8.0 138,464 5/16/2024
1.8.0-rc 834 5/6/2024
1.8.0-alpha3 2,385 3/10/2024
1.8.0-alpha2 4,111 1/3/2024
1.8.0-alpha1 2,281 12/21/2023
1.7.0 42,620 11/27/2023
Loading failed