今天很奇怪的碰到一个问题: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。