NUNIT + VS2010 = Unable to copy file from / obj to / bin ... being used by another process

I am trying to run some unit tests using NUnit while I have a project open, and VS 2010 cannot rebuild the project while the assembly is loaded into NUnit. I looked around and did not find solutions that could fix this. I can close NUnit, then the project builds fine. This is the same solution based on the Rob Conery BDD demo found here: http://tekpub.com/view/concepts/5

Any thoughts?

+4
source share
1 answer

Turn on the Windows Volume Shadow Copy process as outlined in this question . The question is the year, but it worked for me with VS2010 and NUnit 2.5.5. There is also a second answer on this question, but it does not work in my scenario.

+1
source

Source: https://habr.com/ru/post/891485/


All Articles