Replies: 1 comment 1 reply
-
At the moment we don't support packing of native libraries when targeting .NET Framework. For .NET Framework, you can try to embed the native .dll file as a resource in your .NET assembly, then at runtime save it to a real file somewhere, and load it with LoadLibrary before the first code with the It is a feature we could add to .NET Framework, but there are some awkward aspects, like deleting the file when the add-in closes. For managed assemblies, we can load purely from memory, so that's much more elegant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I built a .net project with C# using ExcelDna. My C# code depends on my C++ library via interop ([DllImport...]). How to set up .dna to add my native library to have a complete packed xll?
Beta Was this translation helpful? Give feedback.
All reactions