Reputation: 23329
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?
Upvotes: 7
Views: 3320
Reputation: 29261
For any C# project I would recommend to ignore the following files/directories:
Visual Studio files to ignore
*.pdb
— Files that hold states information when debugging.*.exe
— Executable binaries.*.dll
— Library binaries.debug/*
— Folder used by Visual Studio to store a lot of debugging informationrelease/*
— Folder used by Visual Studio to store binary releases. *.user
— Configuration per user.*.suo
— Options settings per user stored in binary format.obj
— Folder used by Visual Studio to store binary objects used while debugging.bin
— Folder used by Visual Studio to store compiled objects.VSMacros80
— Folder used by Visual Studio to store macros.Other files to ignore
packages
— Folder used for NuGet references.*.log
— In case of having logs written in the source folder (this should not happen).Note: Remember to add these pattern to be ignored recursively.
Extra (copy-n-paste)
*.pdb
*.exe
*.dll
debug/*
release/*
*.user
*.suo
obj
bin
VSMacros80
packages
*.log
Upvotes: 3
Reputation: 65476
obj is another one, as they're debug symbols built during compilation.
Upvotes: 1
Reputation: 19812
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
Upvotes: 11