Reputation: 486
I have a Windows mobile project an have added a small sqlite database to it. I have set the "Copy to Output Directory" on the db file to "Copy Always". But how do I get the database to be deployed with the project?
Upvotes: 1
Views: 953
Reputation: 67178
If you mean "how do I get Visual Studio to deploy the file when I hit F5" then you need to set the "Build Action" to "Content". If you mean "How do I deploy the database to end users along with my application" then the answer is that you need to include the database file in your application deployment CAB.
Upvotes: 2