title: Visual Studio 2013 Publish Error - MSB3231 Unable to remove directory
body: <p>In Visual Studio 2013 I am attempting to File Publish my website project to a remote web server.  I am getting the following error:  </p>
  
  <blockquote>
    <p>C:\Program
    Files\MSBuild\Microsoft\VisualStudio\v12.0\Web\Transform\Microsoft.Web.Publishing.AspNetCompileMerge.targets(720,5):
    Error MSB3231: Unable to remove directory
    "obj\Release\AspnetCompileMerge\TempBuildDir". Access to the path
    'AdditionalPhotos.aspx' is denied.</p>
  </blockquote>
  
  <p>I have tried cleaning and rebuilding, with no luck.  Restarting VS did not help.  I checked the permissions on the directory and file referenced in the error and Windows Explorer would not let me see the file and folder permissions (You do not have permission to view or edit this object's permission settings.)  The project is stored on a network drive, and I am administrator of that drive, so I'm not sure why I can't see permissions there.</p>
  
  <p>Any ideas as to how to get around this issue?  Thanks for your help!</p>