VisualSVN / Sourcecontrol with Visual Studio 2008

iziizi
iziizi used Ask the Experts™
on
When submitting files to SVN, should I exclude the compiled DLL folders from the project?

At the moment, when files are compiled, they change each time. Should the Bin folders in my projects be set to be excluded?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You should use SVN for source only. The compiled binaries should not be submitted.

Author

Commented:
OK, so should I go through and make sure all Bin folders and Obj folders are excluded in tortoise SVN?


I am not sure why VisualSVN has decided to start comitting DLLs

Author

Commented:
does anyone know if I should exclude the Bin / Obj / suo, project fiels etc from SVN?
Project files which will be automatically generated when building the solution should not be included in SVN.
These will add no value and cost only additional space.

In general you could stick to the rule that all the files needed to build the project from scratch are to be put in SVN, and only those.

If you want to have an archive of all build binaries you could include them too, but only when this is strictly necessary.

Author

Commented:
ok, i found a couple of good links:

http://sdesmedt.wordpress.com/2006/12/10/how-to-make-subversion-ignore-files-and-folders/
http://vidmar.net/weblog/archive/2007/12/11/subversion-and-tortoisesvn-tips-and-tricks.aspx

basically I need to add obj / bin / suo / *.user to my ignore list in tortoise, i think.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial