WPF Core App not working with SQLite database.

asked 2020-05-25T17:59:12.84+00:00
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.

8701-error.png

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,170 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2020-05-27T20:19:14.98+00:00
    Duane Arnold 3,211 Reputation points

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

    No comments