views:

388

answers:

1

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?

+2  A: 

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.

ctacke
Thanks, haven't tested yet. but it was excacly what I wanted. =)
Qwark