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

后端 未结 30 1478
清歌不尽
清歌不尽 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:52

    The real problem isn't the error you're getting; it's that the application isn't cleaning up after itself.

    It's either holding on to references, not freeing resources, or something else that's causing the process to not end when it's being told to close. Fix up that issue and this problem will resolve itself. We can't really help you with that unless you post your code (and at this point, if you need help with that, you should start a new question).

提交回复
热议问题