WPF Core App not working with SQLite database.

SatnamSingh 1 Reputation point

Recently i have create one app in WPF Core 3.1. Now i want to deployed that on Microsoft store. I have purchased partnership. Every thing is done. But my app is not working when i create windows app package. Same thing is working in WPF .Net framework. But not with windows app.

List of issues.

  1. Sqlite file is not working in application installed directory.
  2. I have write a code for "AppData" folder. But Directory.CreateDirectory() method not working i am unable create folder.
  3. I cannot create db file in AppData. I have also put log there no error is coming, path is also right but file/directory nothing is created. In debug mode everything is working.
  4. App certification kit also showing some errors which is surprise me because i have not use such dll's.

App is working in Visual studio. Once i create package and install on my local machine nothing is working. Please help me.


Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,709 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Duane Arnold 3,216 Reputation points

    You created AppData folder where in what directory when you deployed the solution to the machine?

    0 comments No comments