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
Hi Im creating a new project and want to use this library. Im trying to use a password protected SQlite DB. For this I should reference microsoft.entityframeworkcore.sqlite.core because it dont have an sqlite dll embeded and use sqlitepclraw.bundle_e_sqlcipher wich support encrypted DB.
The issue is that EntityFramework.Exceptions have an internal dependency in microsoft.data.sqlite without core and the result build contains both sqlite versions.
The result buid:
With EntityFramework.Exceptions contains e_sqlcipher.dll and e_sqlite3.dll
Without EntityFramework.Exceptions, only e_sqlcipher.dll
Any workaround is welcome.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Well Im not shure if deleting e_sqlite3.dll from the bin directory is enough. I will do some tests later.
About the post build. I check an there are several files that should be deleted. Im doing this
and seems to work during a normal build
but fails when publishing single file (and Aot) using console
Im not really good with build tooling, any help is welcome.
I, sorry for the late answer. I check and droping e_sqlite3.dll manually solve the problem and some basic testing shows the app only using the e_sqlcipher.dll. Is yet to test if trimming remove the unneeded dll or not. Just need to find a way to remove before single file generation.
Hi Im creating a new project and want to use this library. Im trying to use a password protected SQlite DB. For this I should reference
microsoft.entityframeworkcore.sqlite.core
because it dont have an sqlite dll embeded and usesqlitepclraw.bundle_e_sqlcipher
wich support encrypted DB.The issue is that
EntityFramework.Exceptions
have an internal dependency inmicrosoft.data.sqlite
withoutcore
and the result build contains both sqlite versions.The result buid:
With
EntityFramework.Exceptions
containse_sqlcipher.dll
ande_sqlite3.dll
Without
EntityFramework.Exceptions
, onlye_sqlcipher.dll
Any workaround is welcome.
Thanks in advance.
The text was updated successfully, but these errors were encountered: