views:

674

answers:

1

After installing and using Visual Studio 2010, I'm seeing some newer file types (at least with C++ projects ... don't know about the other types) as compared to 2008. e.g. .sdf, .opensdf, which I guess are the replacement for ncb files with Intellisense info stored in SQL Server Compact files? I also notice .log files are generated, which appear to be build logs.

Given this, what's safe to add to my global ignore pattern? Off the bat, I'd assume .sdf, .opensdf, but what else?

+4  A: 

For C++ projects, you should be fine ignoring the following files:

  • *.sdf and *.opensdf (temporary file opened only while .vcxproj/.sln is loaded to Visual Studio IDE)
  • *.suo
  • *.vcxproj.user
  • ipch folder - if your project uses Pre-compiled Headers (PCH)

For C# projects, it's also a good idea to ignore bin and obj directories, and *.suo too.

mloskot
What about the "ipch" folder?
Chris Simmons
@Chris, yes, it's a good idea to ignore ipch as well. I've updated my answer. The ipch is a storage for Intellisense compiler which can now utilise Pre-Compiled Headers for better performance.
mloskot