【发布时间】:2016-11-15 12:08:11
【问题描述】:
我的 C# 控制台应用程序嵌入了 MS SQL Server Compact 数据库(.sdf 文件)。安装新版本的应用程序时,该文件不得被覆盖。
.sdf → 文件属性 → 构建操作:应该选择哪个值?选项包括 None、Compile、Content、Embedded Resource、EntityDeploy、ApplicationDefinition、Page、Resource、SplashScreen、DesignData、DesignDataWithDesignTimeCreatableData 和 XamlAppDef。
【问题讨论】: