The requested operation cannot be performed on a file with a user-mapped section open

后端 未结 28 1573
深忆病人
深忆病人 2020-12-07 16:03

Whenever I tried to copy 4 files into my bin folder, after stopping the main service, I am getting an error with one file (TexteDll). The error is:

Cannot co         


        
相关标签:
28条回答
  • 2020-12-07 16:57

    Close visual studio, delete bin , debug release folder, and start visual studio project again. that fixed my problem

    0 讨论(0)
  • 2020-12-07 16:57

    The solution for me was to close out of all instances of VS and to kill any hanging devenv.exe processes.

    0 讨论(0)
  • 2020-12-07 16:57

    I encountered this error and it turned out the issue was FxCop was running against my project. I closed FxCop and then I could compile again.

    0 讨论(0)
  • 2020-12-07 16:58

    close all documents on VS and try to rebuild again. If it doesn't work restart VS. This problem is related to lock of DLL files.

    0 讨论(0)
提交回复
热议问题