title: TFS not clearing build agent folders after migration to TFS2010
body: <p>I am having an issue with TFS. When we had TFS2008, the build machine was able to clear files from the Build Agent Folders before creating a new build. However, after the migration to TFS2010, the build machine cannot clear this folder and we are getting builds with old files that have been deleted from source control. </p>
  
  <p>Is there any way to get this functionality back? We are currently working with the TFS2008 build scripts and the <strong>UpgradeTemplate.xaml</strong> in TFS2010.</p>
  
  <p>Thanks</p>