Unexpected Error Creating Debug Information

We had a power outage yesterday, at which time, many of us had Visual Studio open working on different projects. Today when we came into the office, trying to build our solutions resulted in the following error: Unexpected Error Creating Debug Information.

Something is locking the dll(s) in the /obj/ folder of library components. The easiest way around this (that I have found) is to delete the /bin and /obj folders. Do as follows:

  1. Shut down Visual Studio.NET
  2. Open the project folder in Windows Explorer
  3. Delete the /obj folder
  4. Delete the project outputs (.dll and .pdb) from /bin folder
  5. Restart Visual Studio.NET
  6. Try building the project with success!!!