You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: