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


No comments: