-
Notifications
You must be signed in to change notification settings - Fork 109
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
2.0.5 breaks with .NET Framework, non-SDK-style projects #446
Comments
Yes, please post a minimal repro sample project. |
Here you can find a small program that reproduce the error |
I can see the same issue here |
Initial findings for @m4r10guapito : That repro sample uses .NET Framework (not .NET Core), old (non-SDK-style) projects, and packages.config (not PackageReference), which is not something I test with. The problem appears to be that the targets file is not copying the DLLs over. |
@gnimor You may be seeing the same issue or you may not. Most "Unable to load DLL" errors look the same, but the underlying causes can be very different. |
@ericsink: I think it is the same issue because I have also a .NET framework project (not the SDK-style) and I am also using the packages.config approach. After reverting back to the 2.0.4 the issue is gone. |
For your information: I migrate my project from packages.config to PackageReference but still the same. |
@m4r10guapito That's good to know. Thanks. |
Need to investigate differences between this issue and #444. Do non-SDK style projects work okay with 2.0.5 when NOT building for AnyCPU? |
With x86 or x64 it works. |
Ah. So it looks probable that this bug and #444 may be the same thing. |
…et framework now uses the dynamic provider again, but now the search possibilities includes WHERE_ADJACENT to catch the case where a RuntimeIdentifier was specified so the right dll ends up adjacent to the other outputs instead of in a runtime/rid subdir. trying to un-break anycpu builds. attempts to fix #444 and #446 and #451
Try 2.0.7-pre20210929171745 ? |
Just tried and it seems to works fine! Thank you |
Fixed in 2.0.7, now on nuget.org |
Hello,
not sure if this issue is related with #444 and/or #445, in any case with version 2.0.4 it works fine while with 2.0.5 I get the following exception when I try to create a new SQLiteConnection
InnerException = {"Unable to load DLL 'e_sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
Message = "The type initializer for 'SQLite.SQLiteConnection' threw an exception."
I'm using Windows10 and VisualStudio2019
Please tell me if you need more information.
Thanks in advance
--
Mario
The text was updated successfully, but these errors were encountered: