how to find the other process
Anyone know a tool I can use to debug "cannot access the file because it is being used by another process" exceptions? I suspect a virus scanner but I can't开发者_开发技巧 be sure.
WhoLockMe will tell you which process is keeping the file locked.
Sysinternals Process Explorer
or Procmon
are the best tools for this.
There is also a solution using MS sysinternals called handles: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
精彩评论