Sometimes while working with a project that has NCrunch enabled if I attempt to rename a folder I'll get the Visual Studio message: "Cannot rename 'MyFolder'. The process cannot access the file because it is being used by another process.
If I use LockHunter to see which processes have the folder locked it will show that devenv.exe (the instance with the project loaded) has the folder locked.
I believe it's actually NCrunch that's locking the folder because if I disable NCrunch then the lock immediately goes away. When I re-enable NCrunch the lock comes back.
NCrunch doesn't seem any given folder all the time, but when it does lock them it seems to do so for an arbitrarily long time, meaning I have to disable NCrunch if I want to rename the folder. I'm not sure what causes it to lock or not lock a folder. It seems to happen pretty regularly, but not all the time (often enough to be quite frustrating, not often enough to claim I can easily reproduce it for you).
This is particularly frustrating if I'm using git for source control, because switching to a branch will often involve renaming/adding/deleting folder(s) within a project, so when this issue occurs it makes it impossible to switch branches without disabling NCrunch first. (To be clear I'm seeing this even attempting to rename the folders manually in VS, not only when git is attempting to make changes.)
Could this be a bug in NCrunch? If it could be, is this enough information to track it down? If there's additional information you need I'll try to provide it. I can't provide the entire projects I'm currently working with.