Saturday, November 8, 2008

Cannot delete pdb file when compiling VC project

When using VS.net 2003, you may encounter this problem. once this problem happens, you cannot build you project any more. I have no idea about why this happens (Maybe there are some debuggers of your project have not been terminated normally), but I can tell you how to solve it.
cut the project.pdb and move to another folder. Yes, you cannot delete it, but you can move or rename it. Then, you can build your project as usual. It's easy, doesn't it? :p

No comments: