NUNIT + VS2010 = 无法将文件从 /obj 复制到 /bin...正被另一个进程使用
当我打开项目时,我尝试使用 NUnit 运行一些单元测试,而在 NUnit 中加载程序集时 VS 2010 无法重建项目。我环顾四周,没有找到任何可以解决该问题的解决方案。我可以关闭 NUnit,然后项目就可以正常构建了。这与基于 Rob Conery 的 BDD 演示的解决方案相同:http://tekpub.com/view /concepts/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
Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
打开 Windows 进程“卷影复制”,如 这个问题。这个问题已经有一年了,但它对我来说适用于 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.