I need to set in the app.config the sqlite connection string. I want to set the path relative to the debug/release folders the database file will be copied to those folders.
<add name="EmailsSQLite" connectionString="data source=c:UsersTestDocumentsVisual Studio 2008ProjectsTestConsoleEmailsdataEmailDatabase.sqlite" providerName="System.Data.SQLite"/>
and I want to have something like:
<add name="EmailsSQLite" connectionString="data source=dataEmailDatabase.sqlite" providerName="System.Data.SQLite"/>
Is that possible?
See Question&Answers more detail:os