During the development of my media center plugin (which has several custom build steps for gac, etc.) msvsmon has a rather nasty behavior.
The first compilation usually goes well, but subsequent compilations complain that myplugin.pdb is blocked
Error 1 Unexpected error creating debug information file 'C:\Users\sam\source\myfile.PDB' -- 'C:\Users\sam\source\obj\Debug\myfile.pdb: The process cannot access the file because it is being used by another process.
If I go from VS and nuke to the object directory, I can compile it again. Also, if I kill msvsmon.exe, I can compile again (but cannot debug)
Has anyone seen this error? Are there any workarounds?
I have already disabled live semantic errors, just in case.
source share