NUNIT + VS2010 =无法从/ OBJ文件拷贝到/bin...being由另一个进程使用 [英] NUNIT + VS2010 = Unable to copy file from /obj to /bin...being used by another process

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

问题描述

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

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

有什么想法?

推荐答案

打开在<一个指定的Windows进程卷影复制 href=\"http://stackoverflow.com/questions/935244/nunit-the-process-cannot-access-the-file-because-it-is-being-used-by-anothe\">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由另一个进程使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆