We have a VB.Net 2005 application deployed via ClickOnce.
A part of the program is a SQLCE database.
Despite selecting 'Content', 'Copy if newer' at compile time, it is apparently overwriting the existing database no matter what.
However if we change the setting on the database file to 'Content', 'Do not copy', then first-time users will not get the database.
What do we do? I had considered making the database an embedded resource so we have complete control over it, but I don't know what I could use as a connection string; also, I doubt SQL CE will work that way.
Any and all input is appreciated.
A part of the program is a SQLCE database.
Despite selecting 'Content', 'Copy if newer' at compile time, it is apparently overwriting the existing database no matter what.
However if we change the setting on the database file to 'Content', 'Do not copy', then first-time users will not get the database.
What do we do? I had considered making the database an embedded resource so we have complete control over it, but I don't know what I could use as a connection string; also, I doubt SQL CE will work that way.
Any and all input is appreciated.