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

Using versions that support standard .net in an old .NET 4.X project doesn't work #1249

Open
donnyv opened this issue Aug 15, 2024 · 0 comments

Comments

@donnyv
Copy link

donnyv commented Aug 15, 2024

I just wanted to post this in case other people ran across the same problem. You can't use any standard .net version of this library with old .NET 4.X projects. It throws all kinds of issues that you have to resolve before getting to the actual problem. It will complain sometimes about missing a reference to System.Memory or System.Runtime or System.Runtime.InteropServices.RuntimeInformation or other sub libraries under System.Runtime. Once you remove those references you will find the real issue. Which it can't find the e_sqlite3.dll. For some reason SQLitePCLRaw doesn't copy it to the debug folder with .NET 4.X apps. So I ended up uninstalling the newest version of Sqlite-net and all of its dependences. I then installed Sqlite-net v1.6.292 and that worked. The weird thing is that I still don't see the e_sqlite3.dll in the Debug folder or any of the other SQLitePCLRaw dlls. It must be finding it somewhere but I have no clue where.

Would love to know where its getting e_sqlite3.dll reference.

@donnyv donnyv changed the title Using this in an old .NET 4.X project Using versions that support standard .net in an old .NET 4.X project doesn't work Aug 15, 2024
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