Hello.
This problem is difficult to reproduce.
In VS 2012 sometimes typemock locks our libraries.
More detailed description looks like this:
1. We run VS and compile solution (successfully)
2. Change a library
3. Run compilation again
4. Very often step 3 doesn't produce any issues
5. We repeat step 2-3 a lot
6. We get compilation error that "X library is used by another process"
7. We disable typemock, restart VS
8. We never see this error again
So right now before writing new unit tests we should activate Typemock and restart VS. (and then disable it)
It's very annoying.
Any ideas ?