本文介绍了NUNIT + VS2010 =无法从/ OBJ文件拷贝到/bin...being由另一个进程使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行使用NUnit一些单元测试,而我有项目开放,而组件在NUnit的加载VS 2010不能重建项目。我环顾四周,并没有发现,可见解决它的任何解决方案。我可以关闭NUnit的,则该项目构建的罚款。这是一个基于罗布科纳的BDD演示相同的解决方案在这里找到:

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

有什么想法?

推荐答案

打开在this问题。现在的问题是一岁,但它与VS2010和NUnit 2.5.5为我工作。也有在该问题上第二个答案,但它并没有我的情况下工作。

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.

这篇关于NUNIT + VS2010 =无法从/ OBJ文件拷贝到/bin...being由另一个进程使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 14:38