运行程序时出错 [英] Error while run program

查看:71
本文介绍了运行程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,我尝试在vb.net上运行代码时遇到了问题

警告     1    无法复制"obj \ x86 \ Debug \ WindowsApplication1.exe";到"bin \ Debug \ WindowsApplication1.exe".在1000毫秒内开始重试1.该进程无法访问文件"bin \ Debug \ WindowsApplication1.exe" 因为它正在被另一个进程使用.   WindowsApplication1

我必须重新启动我的PC才能再次运行程序??

我使用Visual Studio 2010

任何建议

解决方案

该错误表明您正在尝试复制自己的正在运行的应用程序,这显然是不可能的.也许您在尝试编译程序时就已经在运行该程序了?

启动时何时出现此错误?

也许显示可能导致错误的代码.




hi all i have a problem while i try to run my code on vb.net

Warning    1    Could not copy "obj\x86\Debug\WindowsApplication1.exe" to "bin\Debug\WindowsApplication1.exe". Beginning retry 1 in 1000ms. The process cannot access the file 'bin\Debug\WindowsApplication1.exe' because it is being used by another process.    WindowsApplication1

i must restart my pc to be able to run program again ??

i`m using visual studio 2010

any advice

解决方案

The error suggests you are trying to copy your own running app, which is obviously not possible. Maybe you are already running the program when you try to compile it ?

When do you get this error, at startup ?

Maybe show the code that might be causing the error.



这篇关于运行程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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