Wednesday, November 27, 2013

Cannot access x.y.z.dll because it is being used by another process

Spent a while today trying to figure out why I couldn't run an app, which kept giving me the build error that a dll was being used by another process. I found this super nice tip which can help avoid a bunch of procmon/etc fiddling:

1. open a command line
2. go to the directory containing your locked dll
3. >tasklist /m my.locked.dll

via http://edwin.vriethoff.net/2009/01/26/find-out-which-process-is-locking-a-dll-without-extra-tools/

No comments: