msvsmon is locking up my pdbs
Posted
by Sam Saffron
on Stack Overflow
See other posts from Stack Overflow
or by Sam Saffron
Published on 2010-02-16T00:51:48Z
Indexed on
2010/04/03
8:33 UTC
Read the original article
Hit count: 335
visual-studio-2008
|visual-studio
During developement of my media center plugin (which has a few custom build steps to gac stuff and such) msvsmon has a rather annoying behaviour.
First compilation usually goes well, but subsequent compilations complain about myplugin.pdb being locked
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 exit VS and nuke the object directory, I am able to compile again. Also, if I kill off msvsmon.exe I am able to compile again (but can not debug)
Has anyone seen this error? Are there any workarounds?
I already disabled live semantic errors, just in case.
© Stack Overflow or respective owner