Excel-DNA NativeAOT: can a separate functions DLL be hot-swapped, or must all exported functions be compiled into the main AOT add-in?

28 views
Skip to first unread message

Melih Özcan

unread,
Mar 24, 2026, 11:21:03 AM (9 days ago) Mar 24
to Excel-DNA

Hi,
I’m trying to use Excel-DNA NativeAOT with a split architecture where the host add-in is stable but the Excel function assembly can be updated independently. (Triggered from within AutoOpen())

However, NativeAOT appears to need the Excel function registrations at build time, and .NET NativeAOT also does not support dynamic assembly loading. Given that, is a “hot-swappable ExternalLibrary containing Excel functions” fundamentally unsupported in NativeAOT?

If unsupported, what is the intended pattern for updateable function logic?
Thank you so much in advance.

Reply all
Reply to author
Forward
0 new messages