Unable to write to output file [FileName] .pdb: Unspecified error Visual Studio
Today I had a very weird problem with visual studio 2010 SP1. Whenever I build the solution I keep getting “Unable to write to output file [FileName] .pdb: Unspecified error” for one of the projects.
I tried cleaning the solution, deleting files in the obj and bin folders and rebuilt, made sure that the files are not readonly. That didn’t help.
Figured out that there was a missing file in one of the projects. To know which file it is:
Close visual studio
Reopen the solution (DON’T build)
Check the Errors List
You should see
Error 1 Unable to open module file [FileName].vb : The system cannot find the file specified. [FileName] [Project]