C# 阴影复制

来源:互联网 发布:淘宝网官能卖保健品 编辑:程序博客网 时间:2024/06/07 21:56

今天很奇怪的碰到一个问题:Error    2    Unable to copy file "obj\Release\**.dll" to "bin\Release\**.dll". The process cannot access the file 'bin\Release\**.dll' because it is being used by another process.   

说它奇怪,是因为这个错误并不规律出现,有时可以编译成功,有时就报错。而且,在我将该组件包删除,重新添加时,就不会有错误,在网上只能搜索到:.NET Framework在早前就有一个“阴影复制”的功能。

解决方法:

1,重启VS。


0 0