-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dotnet core fails loading native dlls #130
Comments
Hi, I copied the native Dlls itself and the bin64 folder in every directory of : didn't help, still get the error of missing hdf5.dll How did you found out what HDF.PInvoke adds this to your PATH environment Variable? EDIT: I accidently found out that the PInvoke.dll get's copied in the bin/Debug folder of the apllication. |
Now (maybe with the patch of #142) this seems to work when targeting .NET 6, but still fails when targeting .NET Framework. The native My final workaround was to copy'n'paste the implementation of this method and call it on the first best opportunity like so: ionicon-analytik/H52O@bd863f9 |
When running a dotnet core 2.0 unit test that uses a netstandard 2.0 package that uses HDF.PInvoke, it fails with the following exception:
HDF.PInvoke adds this to my PATH variable before loading the native dlls:
C:\Users\XXX.nuget\packages\hdf.pinvoke\1.10.1\lib\bin64
However, the actual binaries are located in:
C:\Users\nohabie.nuget\packages\hdf.pinvoke\1.10.1\build\bin64
Copying the native dlls to the build of the test "solves" the problem.
The text was updated successfully, but these errors were encountered: