title: TFS 2010 - Deleting a folder in Visual Studio solution before check-in of changes
body: <p>We are using TFS 2010 and facing a problem with deleting a folder inside of a solution in Visual Studio.</p>
  
  <p>In the latest version of checked-in code, the directory in question has files in it.</p>
  
  <p>One of the developers decided to move the files in that directory to another location within the solution.  He then tried to delete the old folder but go the following error:</p>
  
  <pre><code>This operation cannot be completed. 
  You are attempting to remove or delete a source-controlled item where the item is either exclusively locked elsewhere or otherwise unable to be deleted from source control.
  </code></pre>
  
  <p>Does anyone know what the problem is with trying to do this and is there a way to get around it?</p>