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

前端 未结 3 1559
生来不讨喜
生来不讨喜 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:42

    In the project's Publish options, under Application Files, is the database file's Publish status set to Data File?

提交回复
热议问题