无法复制错误. [英] Unable to copy error.
本文介绍了无法复制错误.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Error 1 Unable to write to output file 'C:\Projects\VariantsReportFinal\VariantsReportFinal\obj\x86\Debug\VariantsReportFinal.exe': The process cannot access the file because it is being used by another process. VariantsReportFinal
我一直在使用vs2008和vs2010,但都给出此错误.
我尝试移动输出和解决方案,但成功运行一次后仍发现错误.
我也尝试过在任务管理器中关闭它,但是它没有显示任务管理器中的进程.
有人可以帮忙吗?
谢谢您
I have been using vs2008 and vs2010 and both give this error.
I have tried moving the output and the solution but I still find the error after running it successfully once.
I have also tried closing it in task manager,but it doesn''t show the processes in task manager.
Can anyone help?
Thank you
推荐答案
可能是因为您的应用程序仍在使用该文件.检查在哪里创建它,并确保所有与文件相关的项目都已关闭并已处置-否则它们将保持打开状态,直到垃圾收集器将其移出并移除它们,或者您的应用程序关闭.
Probably, it is because your application is still using the file. Check where you create it, and make sure that all file related items are closed and Disposed - otherwise they will remain open until the Garbage Collector comes round and removes them, or your application closes.
这篇关于无法复制错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文