无法复制文件“obj \ x86 \ debug \ ***** [英] Unable to copy file "obj\x86\debug\*****

查看:295
本文介绍了无法复制文件“obj \ x86 \ debug \ *****的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Every One!



面对c#project中的问题命名(Sunny Traders)任何帮助都将赞赏Wink | ;)



错误#1无法将文件obj\ x86 \Debug \ Snunny_Traders.pdb复制到bin \Debug \ Sunny_Traders。 pdb。进程无法访问文件'bin \Debug \ Sunny_Traders.pdb',因为它正被另一个进程使用



错误#2可能不要将obj\x86\Debug\Sunny_Traders.pdb复制到bin \Debug \ Sunny_Traders.pdb。超过重试次数10.失败.Sunny_Traders



我尝试过:



1.在防病毒中添加例外

2.Change在发布和调试中

3.清理项目和重建

4.对我有用的是关闭VS并删除项目/ debug / Bin中的所有文件(可悲的是我必须重复4号每次都要执行。



我该怎么办才能摆脱这个错误?

Hello Every One !

Facing a issue in c# project Named(Sunny Traders) any Help will be appreciated Wink | ;)

Error#1 " Unable to copy file "obj\x86\Debug\Sunny_Traders.pdb" to "bin\Debug\Sunny_Traders.pdb". The process cannot access the file 'bin\Debug\Sunny_Traders.pdb' because it is being used by another process"

Error# 2 "Could not copy "obj\x86\Debug\Sunny_Traders.pdb" to "bin\Debug\Sunny_Traders.pdb". Exceeded retry count of 10. Failed. Sunny_Traders"

What I have tried:

1.Adding Exception in Antivirus
2.Change in Release and Debug
3.Cleaning Project and Rebuilding
4. What is working for me is to Close VS and delete all files from project/debug/Bin ( Sadly i have to repeat No.4 Every time to execute.

What should i do next to get rid of this error ?

推荐答案

这意味着您的应用程序仍在运行.Visual Studio构建t他可以在你的obj /目录中执行,然后将它复制到你的bin /目录,但是如果应用程序仍在运行则无法复制。尝试找到关闭它的应用程序窗口,如果找不到它,打开任务管理器并在那里将其终止。
It means that your application is still running. Visual Studio builds the executable in your obj/ directory and then copies it to your bin/ directory, but it's impossible to copy if the application is still running. Try to find the application window to close it, and if you can't find it, open Task Manager and kill it there.


这篇关于无法复制文件“obj \ x86 \ debug \ *****的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆