Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 错误166无法复制文件";obj\x86\Debug\FileName.exe“;至;bin\Debug\FileName.exe“;_.net - Fatal编程技术网

.net 错误166无法复制文件";obj\x86\Debug\FileName.exe“;至;bin\Debug\FileName.exe“;

.net 错误166无法复制文件";obj\x86\Debug\FileName.exe“;至;bin\Debug\FileName.exe“;,.net,.net,当我试图构建一个项目时,突然出现了这样的错误: 错误166无法复制文件 “obj\x86\Debug\ObjectRecognitionDriver.exe”到 “bin\Debug\ObjectRecognitionDriver.exe”。进程无法访问 文件“bin\Debug\ObjectRecognitionDriver.exe”,因为正在使用该文件 通过另一个过程 你知道这个错误的原因和解决方法吗 你知道这个错误的原因吗 正如错误所说: 进程无法访问文件“bin\Debug\Object

当我试图构建一个项目时,突然出现了这样的错误:

错误166无法复制文件 “obj\x86\Debug\ObjectRecognitionDriver.exe”到 “bin\Debug\ObjectRecognitionDriver.exe”。进程无法访问 文件“bin\Debug\ObjectRecognitionDriver.exe”,因为正在使用该文件 通过另一个过程

你知道这个错误的原因和解决方法吗

你知道这个错误的原因吗

正如错误所说:

进程无法访问文件“bin\Debug\ObjectRecognitionDriver.exe”,因为另一进程正在使用该文件。


如何解决呢

重新启动VisualStudio通常可以解决这个问题。你试过什么


使用该工具,您可以找出哪个进程正在锁定文件。

是否尝试手动清理obj和bin文件夹?是否已在任务管理器中检查ObjectRecognitionDriver.exe是否仍在运行?我尝试清理项目和解决方案,但没有帮助。