Configure NativeAsync at the attribute or project level

15 views
Skip to first unread message

evan.t...@gmail.com

unread,
Feb 4, 2026, 4:22:39 PM (5 days ago) Feb 4
to Excel-DNA
Is it possible to indicate whether to use native async either as an attribute (ExcelAsyncFunctionAttribute?). Alternatively, can I configure something in the .csproj to indicate that all functions should use native async?

Otherwise, it seems the correct way to do this would be to use manual registration, something like this:

ExcelRegistration.GetExcelFunctions()
  .ProcessParamsRegistrations()
  .ProcessAsyncRegistrations(nativeAsyncIfAvailable: true)
  .RegisterFunctions();

Thanks,
Evan
Reply all
Reply to author
Forward
0 new messages