views:

353

answers:

2

Which folders may I not commit to subversion server?

I'm talking about an standard asp.net web application in Visual Studio 2.008. I think the bin folder because it's files are regenerated, is there any other?

+5  A: 

We put this string as the svn:ignore property on all our projects:

*.pdb  
*.exe  
*.dll  
debug/*  
release/*  
*.user  
*.suo  
obj/*  
bin/*  
obj  
bin  
VSMacros80
MartinHN
Doesn't the *.dll remove your dependencies? i.e. the lib folder if that's where you store them
Chris S
keep in mind that SVN will allow you to commit ignored files if they're already under version control. It just won't list the unversioned ones that are ignored. You can thus add any dll files you need and it will version them normally.
rmeador
First: My dependencies that I have source code for, is built when the parent project is built.If we use 3rd party assemblies, these are kept, as rmeador points out SVN will allow you to commit ignored filetypes if they're already under version control. So you can always add an ignored file.
MartinHN
Note, sometimes ignoring "bin" is not the same as "Bin". I suggest ignoring the uppercase version of those directories as well..
driAn
Can't you do something like [Bb]in to ignore both lower- and uppercase?
MartinHN
+1  A: 

obj is another one, as they're debug symbols built during compilation.

Chris S