Unable to copy a file from obj\Debug to bin\Debug

后端 未结 30 1410
清歌不尽
清歌不尽 2020-12-02 12:04

I have a project in C# and I get this error every time I try to compile the project:

(Unable to copy file \"obj\\Debug\\Project1.exe\" to \"bin\\Debug

30条回答
  •  爱一瞬间的悲伤
    2020-12-02 12:50

    If you look in the obj directory, and you don't see your .exe, it's possible that Avast! or other antivirus is deleting it. I would actually see the .exe show up and then disappear. As soon as I turned off Avast!, problem solved.

    VS2010 throwing "Could not copy the file "obj\x86\Debug\[file].exe" because it was not found."

提交回复
热议问题