I have just compiled and installed an application that generates and uses an SQLite database.
In my App.config file, my connection string is like this:
<add name="DBContext" connectionString="data source=.\DB.sqlite" providerName="System.Data.SQLite" />
In my debug/release, I can see that the DB.sqlite file is created in the same folder.
However, when I have installed the compiled application, it goes to a directory called:
C:\Users\uua\AppData\Local\VirtualStore\Program Files (x86)\App
Is there a way to make sure the database appears in a custom location or in the same folder as my installed application?