HDF.PInvoke
HDF.PInvoke copied to clipboard
The native DLLs are not searched realtive to the HDF.PInvoke.dll
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?
Having more than one way to resolve the path might be the best solution?