I am writing an application that will access a local database (MS Access) as a cache for a remote SQL server.
I have a “logic” project and a “UI” project. The .accdb file in currently in the UI project and build action set to content, copy if newer. However, this somehow feels really wrong but I am not sure what is the correct systematic way handling it.
Should I create a database project? But honestly, I am quite clueless when it comes to database projects and not sure where to starting learning. Also, the options available in visual studio seems to only be SQL based.
I am thinking maybe I should create a new project, put .accdb as content and to the project add code for version upgrades, migration, schema updates which currently isn’t any where in the solution.
Which way should I head?
I think you should have to use the default option:
Copy To Output Directory=copy if newer'this way the build will copy that file whenever you build your project.