<p>What are the best practices for checking in BIN directories in a collaborative development environment using SVN?  Should project level references be excluded from checkin?  Is it easier to just add all bin directories?</p>

<p>I develop a lot of DotNetNuke sites and it seems that in a multi-developer environment, it's always a huge task to get the environment setup correctly.</p>

<p>The ultimate goal (of course) is to have a new developer checkout the trunk from SVN, restore the DNN database and have it all just 'work'...</p>

[{'answer_id': 266, 'author': 'Karl Seguin', 'author_id': 34, 'author_profile': 'https://Stackoverflow.com/users/34', 'pm_score': 5, 'selected': True, 'text': "<p>Any assemblies that are expected to be in the GAC should stay in the GAC. This includes System.web.dll or any other 3rd party dll that you'll deploy to the GAC in production. This means a new developer would have to install these assemblies.</p>\n\n<p>All other 3rd party assemblies should be references through a relative path. My typical structure is:</p>\n\n<pre><code>-Project\n--Project.sln\n--References\n---StructureMap.dll\n---NUnit.dll\n---System.Web.Mvc.dll\n--Project.Web\n---Project.Web.Proj\n---Project.Web.Proj files\n--Project\n---Project.Proj\n---Project.Proj files\n</code></pre>\n\n<p>Project.Web and Project reference the assemblies in the root/References folder relatively. These .dlls are checked into subversion.</p>\n\n<p>Aside from that, */bin  */bin/* obj  should be in your global ignore path.</p>\n\n<p>With this setup, all references to assemblies are either through the GAC (so should work across all computers), or relative to each project within your solution.</p>\n"}, {'answer_id': 268, 'author': 'Peter Burns', 'author_id': 101, 'author_profile': 'https://Stackoverflow.com/users/101', 'pm_score': 2, 'selected': False, 'text': "<p>Is this a .Net specific question?</p>\n\n<p>Generally the best practice is to not check in anything which is built automatically from files that are already in SCM.  All of that is ideally created as part of your automatic build process.</p>\n\n<p>If the <code>bin</code> directory you're referring to contains third-party binaries, rather than a build of your project, ignore (downvote?) this advice.</p>\n"}, {'answer_id': 532, 'author': 'svrist', 'author_id': 86, 'author_profile': 'https://Stackoverflow.com/users/86', 'pm_score': 2, 'selected': False, 'text': "<p>Maven helps quite a lot with this problem when I'm coding java. We commit the pom.xml to the scs and the maven repository contains all our dependencies.\nFor me that seems like a nice way to do it.</p>\n"}, {'answer_id': 10428, 'author': 'stimms', 'author_id': 361, 'author_profile': 'https://Stackoverflow.com/users/361', 'pm_score': 1, 'selected': False, 'text': '<p>We follow the practice of using a vendor directory which contains all vendor specific headers and binaries.  The goal is that anybody should be able to build the product just by checking it out and running some top level build script.  </p>\n'}, {'answer_id': 56480, 'author': 'LaptopHeaven', 'author_id': 1296, 'author_profile': 'https://Stackoverflow.com/users/1296', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.codeplex.com/treesurgeon" rel="nofollow noreferrer">Tree Surgeon</a> is a great tool which creates an empty .NET development tree.  It has been tweaked over years of use and implements lots of best practices.</p>\n'}]
['https://Stackoverflow.com/questions/265', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/105/']