Asp.net 2.0 and VSS – The Bin Directory

I’ve been working with ASP.Net 2.0 for a while now and overall I’ve been pleased with the functionality that exists in 2.0. There has been a bit of a learning curve and there are a few things that have really driven me close to the brink of insanity.

One of those things is the ASP.Net 2.0 integration with VSS. For some reason, the add to source control functionality source controls the bin directory of your site. When you have a project reference that is modified, ASP.Net will grab the new assembly and update the bin directory (as it should). The problem here is that the bin directory is now source controlled. When you build your solution ASP.Net will automatically check out the file from VSS by default. This obviously creates a massive amount of contention (because it happens for everyone working on the solution and every time the solution is built) and this has been extremely frustrating for our team. The workaround that the team has used has been to make all of the files in the bin directory read-only, but this is obviously a pretty big (and tedious) hack for the default integration behavior.

I haven’t been able to find much out there on an elegant way to work around this issue. Am I just missing something blatantly obvious here? Is this really the default behavior of VS.Net 2005 and the VSS integration? If you’ve faced this issue, what was your approach to avoid these issues?