23

I've recently been trying to save space on my machine and started using TreeSize to analyse folder structures / sizes

This led me to the discovery that a lot of my Visual Studio projects have SDF files inside them. In one case, an app folder is 80Mb, 50Mb of which is this SDF file. This app doesn't use SQL Server Compact (although it has a SQLite database). The SDF file doesn't appear in the project files in Visual Studio.

Where do these files come from, and are they safe to remove?

roryok
  • 9,325
  • 17
  • 71
  • 138
  • [Project and Solution files](https://msdn.microsoft.com/en-us/library/hx0cxhaw.aspx) lists common file extensions in Visual Studio. – Alexey Ivanov Nov 08 '16 at 19:48
  • Possible duplicate of [Why does the Visual Studio conversion wizard 2010 create a massive SDF database file?](https://stackoverflow.com/questions/4237660/why-does-the-visual-studio-conversion-wizard-2010-create-a-massive-sdf-database) – R Sahu Sep 19 '18 at 18:33

1 Answers1

24

Found an answer here: Why does the Visual Studio conversion wizard 2010 create a massive SDF database file?

It turns out this is the code browser database, and I can delete it

Community
  • 1
  • 1
roryok
  • 9,325
  • 17
  • 71
  • 138