NUnit的小问题
每次我运行NUnit后修改测试代码,但每次都不能编译通过。
错误一般都如下
Error 1 Unable to copy file "obj\Debug\TS.Infrastructure.Tests.dll" to "bin\Debug\TS.Infrastructure.Tests.dll". The process cannot access the file 'bin\Debug\TS.Infrastructure.Tests.dll' because it is being used by another process. TS.Infrastructure.Tests
我知道错误的来源是NUnit占据了这个进程,关掉NUnit后就好了。但每次都要重新打开和关闭NUnit工具很烦啊,该怎么办?