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

Background Task + Sqlite #9351

Closed
JozefGula opened this issue Feb 20, 2024 · 1 comment
Closed

Background Task + Sqlite #9351

JozefGula opened this issue Feb 20, 2024 · 1 comment
Labels
area-External Not owned by the WinUI team, not actionable in this repository.

Comments

@JozefGula
Copy link

Hello,

I have packaged WinUI3 application (Net8.0). My solution contains 3 projects:

  1. MyApplication
  2. MyApplication.Component
  3. MyApplication.DataSource

Project reference are:

  1. MyApplication.Component contains MyApplication.DataSource
  2. MyApplication contains MyApplication.DataSource and MyApplication.Component

MyApplication.DataSource uses EF core + Sqlite

If I start MyApplication and call the "DataSource" implementation located in MyApplication.DataSource, everything works correctly.

If background task from MyApplication.Component call the "DataSource" implementation located in MyApplication.DataSource will fail:

DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies: The specified module could not be found. (0x8007007E)

  • my application is "packaged" and the same error occurs when installing and running it in the system and when debugging through Visual Studio.

Windows 10 PRO
Version 22H2
OS Build: 19045.4046
all updates installed

Can anyone advise me on what could be causing the error, or at least point me in the direction of what could be the cause and how to solve it?

Thanks a lot

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 20, 2024
@JozefGula JozefGula changed the title Backgreount Task + Sqlite Backgrount Task + Sqlite Feb 20, 2024
@JozefGula JozefGula changed the title Backgrount Task + Sqlite Background Task + Sqlite Feb 20, 2024
@bpulliam bpulliam added area-External Not owned by the WinUI team, not actionable in this repository. and removed needs-triage Issue needs to be triaged by the area owners labels Feb 29, 2024
@bpulliam
Copy link
Contributor

Not a WinUI issue. I would try VS or the SqlLite teams.

@bpulliam bpulliam closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-External Not owned by the WinUI team, not actionable in this repository.
Projects
None yet
Development

No branches or pull requests

2 participants