I added a SQLite database to the root of my project and set its "Build Action" property to "Content":
I'm trying to open the database this way:
using System.Data.SQLite;
. . .
string cs = "Data Source=\\F4FDataSQLite_SingleTable.db;";
using var con = new SQLiteConnection(cs);
con.Open();
...but the exception "unable to open database file" is thrown on the con.Open() line above.
I don't want to use the full file path (C:\Users\bclay\source\repos\F4F_Core\F4F_Core\F4FDataSQLite_SingleTable.db) to the database, because that's not going to be a valid path for anybody but myself.
Is there something wrong with my connection string that is causing this error message?
