Unexpected error creating debug information file
This morning, when I started my project and tried to recompile, Visual Studio 2003 started complaining. It gave me the following error message:
unexpected error creating debug information file 'X:\Projects\.....\bin\debug\project.pdb.
I tried deleting the pdb file, and I could delete it. So the file was not locked. I got the original project from Source Safe, and the same problem occured. After searching the internet I found several links describing the problem and possible solutions:
- GotDotNet mentions that another process is using the component you're trying to compile. Stop that process.
- John Tobler had the same problem and mentioned it on his web log. Several solutions are offered by other bloggers there.
These tips did not work for me though. I ended up deleting the entire Obj tree in my project folder. Everything was fine after that.