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 not be overwritten.
.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.