database does not change with new winforms installation

My winforms application uses a SQLServerCE database.  The project file was set to copy always on the last build.  I want a new install to carry the values in the database from my machine to the target machine.   Currently, that is not happening.   I can use Add/Remove Programs to remove my winforms application from the target machine, but when I re-install, the values in the database are the same as the ones that were there when the application was first installed....this is kinda cool for updating my application later on in this process,  but not when I am first building and testing what should be a "clean" install.

I tried uninstalling MS SQLServer CE with Add/Remove Programs, but apparently removing the program does not remove the tables or the values they contain.

Any advice, suggestions, appreciated.  Thanks in advance!
codefingerAsked:
Who is Participating?
 
codefingerAuthor Commented:
Found the answer.  I have to remove the database from the project and add it back just before I publish.
0
 
codefingerAuthor Commented:
My solution is to remove the database from the project and then add it back just before I publish.  In that way the values in the database will travel into the target computer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.