jdana
asked on
Visual Studio - Error, PDB file is used by another process.
I made the mistake of opening the same WPF project at the same time with two instances of Visual Studio. Running the project produced the following error. (FFIMP is my project name.)
Error 1 Unexpected error creating debug information file 'C:\...\FFIMP.PDB' -- 'C:\..\FFIMP.pdb: The process cannot access the file because it is being used by another process.
It's no surprise I generated this error. The two instances of VS were fighting each other. Ever since, however, I continue to see this error despite the fact that I'm careful to open one instance of Visual Studio at a time. It's not a huge deal. I simply close Visual Studio, re-open it, and the error goes away. I'd like to, however, get rid of the error permanently. Ideas?
Error 1 Unexpected error creating debug information file 'C:\...\FFIMP.PDB' -- 'C:\..\FFIMP.pdb: The process cannot access the file because it is being used by another process.
It's no surprise I generated this error. The two instances of VS were fighting each other. Ever since, however, I continue to see this error despite the fact that I'm careful to open one instance of Visual Studio at a time. It's not a huge deal. I simply close Visual Studio, re-open it, and the error goes away. I'd like to, however, get rid of the error permanently. Ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the thoughtful feedback. It turns out it's a Windows ACL (permissions) issue. I'm co-developing some quick-and-dirty projects with some subs using Dropbox (as opposed to GET). When the sub creates the project bin folder (and the associated Debug and Release folders) and those folders find their way onto my laptop via Dropbox, the SYSTEM account becomes the owner of those folders as opposed to my user account. If I transfer ownership to my user account, the issue goes away.
kaufmed,
Unlocker is pretty slick. Thanks!