6

I'm getting ready to setup a Visual Studio Database Edition GDR R2 project with source control. Which files (if any), should be excluded from source control?

Rob Boek
  • 1,953
  • 16
  • 20
  • 1
    Useful information guys - it's always a pain trying to decide which file to exclude from source control. Wouldn't it just be simpler, if the project structure simply contained a directory called something like 'Generated' and use this as the location of any file(s) that do not need to be (Or should not be) placed under source control. Are you listening, Microsoft? – belugabob Aug 26 '09 at 08:48

4 Answers4

4

Here is what I ended up with.

[Bb]in
[Dd]ebug
obj
[Rr]elease
*.aps
*.dbmdl
*.eto
*.ncb
*.suo
*.user
_ReSharper.*
Rob Boek
  • 1,953
  • 16
  • 20
2

The files / directories I exclude are these:

/obj
/bin
/sql
/*.dbmdl
Brad Bell
  • 368
  • 1
  • 11
  • 27
0

I also exclude the .suo file in the solution folder.

Rob McCauley
  • 538
  • 1
  • 5
  • 12
0

I also avoid the .dbschema files

jamiet
  • 10,501
  • 14
  • 80
  • 159