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

后端 未结 28 1572
深忆病人
深忆病人 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:46

    Deleting the obj folder and rebuilding worked for me

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

    Close the Visual Studio and Run it as administrator. It's fixed my problem.

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

    If it is a web application deleting files in Temporary ASP.NET Files folder could be a solution.

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

    I had this same issue . I removed dll from temp folder, remove read only access and restarted machine and got it working.

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

    I had this error caused by a 'more' vs file in question left running in another console. Oops.

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

    I had the same problem. Restart did not work for me. There was a process called VBSCompiler was running in task manager. I had to end the process to fix this error.

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