Skip to content
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

The native DLLs are not searched realtive to the HDF.PInvoke.dll #108

Open
JanWosnitza opened this issue Jan 19, 2017 · 1 comment
Open

Comments

@JanWosnitza
Copy link
Collaborator

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?

@JanWosnitza 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
@JanWosnitza
Copy link
Collaborator Author

Having more than one way to resolve the path might be the best solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant