ClickOnce deletes my local database when it updates.. how not to?

前端 未结 3 1555
生来不讨喜
生来不讨喜 2021-01-15 19:49

I\'m using ClickOnce to deploy my application. When the app runs the first time, if a db doesn\'t exist, it creates one.

Problem is, when I update, it removes the lo

3条回答
  •  迷失自我
    2021-01-15 20:23

    Don't include the database in the deployment. Implement your own db creation (using script) when the database isn't present.

提交回复
热议问题