Upgrading SQL CE via Clickonce update
问题 We have recently moved an existing Clickonce app development project from Visual Studio 2005 to VS 2010. Due to an upgrade issue with Visual Studio 2010, we've had to upgrade its SQL CE database from v3.1 to v3.5. To avoid data migration headaches, we have been copying the user's previous database into their new installation folder each time a Clickonce update is published. If there are any DB changes, we script them into the app's IsFirstRun event handler. But now, since we've changed the