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
Deleting the obj folder and rebuilding worked for me
Close the Visual Studio and Run it as administrator. It's fixed my problem.
If it is a web application deleting files in Temporary ASP.NET Files folder could be a solution.
I had this same issue . I removed dll from temp folder, remove read only access and restarted machine and got it working.
I had this error caused by a 'more' vs file in question left running in another console. Oops.
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.