I was getting a build error: “Unable to delete file "…". Access to the path ‘…’ is denied.”, when building a solution in Microsoft Visual Studio 2013.

I fixed the problem by:

  • Closing Microsoft Visual Studio 2013
  • Opening a command prompt in administration mode and then, running:
  • rd /s /q (to remove all file from the debug folder).

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.