Visual C++ 2010 Fatal Error C1083; Permission Denied

So it turns out that the solution to this was simply to delete the .suo file in the project folder and rebuild the project. Why that worked, I don't know, but it seemed to do so.


This may not be a permission issue at all but may be a file lock issue. I believe this can happen, if you are:

  1. Building the entire solution
  2. Building in parallel
  3. Not properly defining project dependencies

What happens is one project is writing to the object while another project is attempting to read that object and cannot because the write lock prevents it.

Please correct me if I am wrong.