You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NativeDependencies.GetAssemblyName() the path is selected relative to the executed assembly (the program using the DLL) and not (what I expected) relative to the DLL.
This could be fixed by replacing System.Reflection.Assembly.GetExecutingAssembly() with typeof(NativeDependencies).Assembly.
Are there any concerns or use-cases which this might destroy?
The text was updated successfully, but these errors were encountered:
JanWosnitza
changed the title
The native DLLs are not realtive to the HDF.PInvoke.dll
The native DLLs are not searched realtive to the HDF.PInvoke.dll
Jan 19, 2017
In
NativeDependencies.GetAssemblyName()
the path is selected relative to the executed assembly (the program using the DLL) and not (what I expected) relative to the DLL.This could be fixed by replacing
System.Reflection.Assembly.GetExecutingAssembly()
withtypeof(NativeDependencies).Assembly
.Are there any concerns or use-cases which this might destroy?
The text was updated successfully, but these errors were encountered: