Skip to content

Linux OS dll load exception on .Net5.0 linux-x64 build #131

@michael-gabbay

Description

@michael-gabbay

Hello.
I have a product uses your library, it was in use for Win only and now we updated our systems to .Net5.0 and
we should give support on linux platforms.

I tried to run published build my product which uses Hidlibrary to communicate with my Hid Device.
I got the following stack trace:

i'm using version 3.3.40.

I'm getting the following exception:
'Unable to load shared library 'hid.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libhid.dll: cannot open shared object file: No such file or directory'

was originally thrown at this call stack:
HidLibrary.HidDevices.HidClassGuid.get()
HidLibrary.HidDevices.EnumerateDevices()
HidLibrary.HidDevices.Enumerate(int, int[])
MuDi.Providers.Utils.HidLibraryUtils.LocateFtdiDevice(string)

any help will be appreciated

Thanks!
Michael.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions