[MonoTouch] Updaing App With Database

Tim Scott tscott at lunaversesoftware.com
Fri Oct 2 00:32:06 EDT 2009


I am leaning MonoTouch using the eval version.  I am working only on the
simulator.  I have not yet deployed anything to a device yet.   I was
wondering, what is the correct way to deploy a sqlite3 database so that the
app can be updated without trashing the existing database?   Currently I am
putting the database file in the solution and setting the build action to
Content.  I can then open the database using only the name (no path).  This
works fine for development; however, every time I run the app the seed
database is deployed thus destroying data changes from previous runs.  How
can I use a database so that it will be preserved across updates to the
application?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20091001/f1125d59/attachment.html 


More information about the MonoTouch mailing list