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

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

    Before rebuild the solution, clear the project, stop the IIS and open the "bin" folder property. Uncheck the Read-only Attribute in general tab then rebuild.

提交回复
热议问题