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
Close visual studio, delete bin , debug release folder, and start visual studio project again. that fixed my problem
The solution for me was to close out of all instances of VS and to kill any hanging devenv.exe processes.
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.
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.