首先,我們需要知道.sdf是什嗎?sdf檔案是Visual Studio 2010出現一個一個本地化的資料庫檔案:SQL Server Compact Edition Database File。經驗證,這個檔案是工程的資訊儲存成了資料庫檔案,如果你沒有參加大型的Team 專案,不涉及到高深的調試過程,這個檔案對於你來說沒什麼用了,可以放心的刪除,如果你後來又需要這個檔案了,簡單,開啟工程裡的.sln檔案重新編譯連結就ok了。
官方說明:
檔案類型1:SQL Server Compact Database File
檔案說明:
Compact relational database developed by Microsoft, also known the SQL Server Compact (SQL CE) format; designed for applications that run on mobile devices and desktops; contains the complete database contents and can be up to 4GB in size.
NOTE:
Previous versions of SQL Server Compact were distributed as SQL Server for Windows CE and SQL Server Mobile Edition.
注意:
該檔案格式在vs2010、vs2012下是可以開啟的。vs2013打不開。
如果需要開啟,需要安裝:
Microsoft SQL Server Compact
Flyhoward SDF Viewer
在vs2013下瀏覽需要: CompactView或者l SQL Server Compact Toolbox 擴充
或者安裝 Sql management Studio 2008
如果不需要這個檔案,直接刪除就行。