title: ClickOnce and SQL Server Compact database
body: <p>My C# console application has embedded MS SQL Server Compact database (.sdf file). When a new version of the application is installed, this file must <strong>not</strong> be overwritten.</p>
  
  <p>.sdf → File Properties → Build Action: Which value should be chosen? The options are None, Compile, Content, Embedded Resource, EntityDeploy, ApplicationDefinition, Page, Resource, SplashScreen, DesignData, DesignDataWithDesignTimeCreatableData and XamlAppDef.</p>