title: The process cannot access a file because it is being used by another process while doing web deployment
body: <p>I am using automatic web deployment from TFS to depoly my build daily. In my web site I have one log file. When deploying I am getting "The process cannot access a file  because it is being used by another process" this error causes deployment to fail.</p>
  
  <p>Can anybody tell me how to force delete of the old while automatic deploying? I have to do IISRESET to deploy.
  Thanks
  Ashwani</p>