Skip to content

Native DLLs are not copied into the output directory of Design library #222

@jonnew

Description

@jonnew
  1. clroni has several native dependencies (liboni.dll, onidriver_<whatever>.dll).
  2. OpenEphys.Onix1 references the clroni nuget package and these native dependencies are copied into its build directory. This occurs because clroni contains a clroni.targets files with instructions for extracting its native libraries:
    image
  3. OpenEphys.Onix1.Design references the OpenEphys.Onix1 project, which itself references the clroni nuget package. However, when built, native dependencies are not copied to the build directory. When debugging, this results in a native methods exception because there is no native library.
    image
  4. Directly references the clroni nuget package in the OpenEphys.Onix1.Design project solves this issue, but feels like a hack because clroni is not directly referenced in the design project code.

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions