Fix DllNotFoundException for native libraries (Issue #17)
Changes
- Rewrite
.targets file — Use explicit <Copy> tasks instead of fragile <None> + CopyToOutputDirectory for reliable native DLL deployment from NuGet packages
- Add
buildTransitive support — Transitive package consumers now also get native DLLs copied to output
- Improved diagnostics —
NativeLibraryLoader now throws DllNotFoundException with detailed search path info, OS/arch, and dependency status instead of silently failing
Install
dotnet add package Databento.Client --version 5.2.2