-
Notifications
You must be signed in to change notification settings - Fork 70
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
nuget Package 3.1.1: dll not found in .net framework 4.8.1 forms app #212
Comments
Good to see you here again @c3rebro
I guess the generated file should be renamed with a dash instead to have consistent behavior between targeted .NET versions, like LibLogicalAccessNet-native... |
Hello Maxim, strange behaviour. But renaming LibLogicalAccessNet.native.dll to LibLogicalAccessNet.native fixed it. Thank you. :-) |
Hello Maxime. I tried to implement your lib again and facing issues at runtime which looks like troubles with the installer or .net wrapper.
Issue:
Installing the nuget package reference LibLogicalAccessNetCE 3.1.1 leads to "DllNotFoundException" for "LibLogicalAccessNet.native". This occurs on:
var lib = LibraryManager.getInstance()
Reproduce:
To reproduce the issue i just created a new .net framework 4.8.1 forms app. i added a reference to the nuget package and then tried to load the assembly in the form1.cs:
which throws the above error. If i create a .net 8 forms app .getInstance() is working as expected.
What i tried/did so far:
all to no success.
do you have any idea why this is happening?
The text was updated successfully, but these errors were encountered: