title: TFS with different binaries folder for different projects
body: <p>I've got a solution with Silverlight projects, a couple Web applications and some Windows service and their small Winforms test applications.</p>
  <p>When I build it using TFS it puts all binary files in the <code>Binaries</code> folder. It also creates a <code>_PublishedWebsites</code> folder where it puts the web applications ready for deployment.</p>
  <p>What I would like is for a few of the projects to have their ouput in a separate directory in the <code>Binaries</code> folder. I want the files that I would normally find in the <code>bin\Release</code> folder to be there.</p>
  <p>I looked long and hard and could only find scarce documentation on how to achieve that and only for TFS 2008. There's a good article there <a href="https://docs.microsoft.com/en-us/archive/blogs/aaronhallberg/" rel="nofollow noreferrer">link text</a> and another entry for VS 2010 there <a href="https://docs.microsoft.com/en-us/archive/blogs/jimlamb/customizableoutdir-in-tfs-2010" rel="nofollow noreferrer">link text</a>. However, none of these work :-(</p>
  <p>It seems that the build ignores the <code>&lt;OutputPath&gt;</code> property. I tried fiddling with the <code>&lt;AfterBuild&gt;</code> property but unfortunately if I use the <code>$(OutDir)</code> property I get ALL the files in the <code>Binaries</code> directory and not only the ones that just got compiled.</p>
  <p>At the moment I'm setting up a separate build that only has the projects I'm interested in that get compiled but I would really like to have all the files needed for the release built all at once.</p>
  <p>EDIT: I didn't make it clear enough but I'm using the latest version of TFS (TFS 2010 RTM). I set up <code>&lt;OutputPathDir&gt;</code> on the project level as explained in the links that I provided.</p>
  <p>Cheers.</p>