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

别等时光非礼了梦想. 提交于 2019-12-10 17:13:22

问题


I am trying to run some unit tests using NUnit while I have the project open, and VS 2010 cannot rebuild the project while the assembly is loaded in NUnit. I have looked around and haven't found any solutions that seen to fix it. I can close NUnit, then the project builds fine. This is a the same solution based on Rob Conery's BDD demo found here: http://tekpub.com/view/concepts/5

Any thoughts?


回答1:


Turn ON the windows process "Volume Shadow Copy" as specified in this question. The question is a year old, but it worked for me with VS2010 and NUnit 2.5.5. There is also a second answer in that question but it didn't work in my scenario.



来源:https://stackoverflow.com/questions/2851751/nunit-vs2010-unable-to-copy-file-from-obj-to-bin-being-used-by-another-p

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!