HidLibrary
HidLibrary copied to clipboard
Linux OS dll load exception on .Net5.0 linux-x64 build
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.
it's only support for windows 。native api from HID.dll is under Windows