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
In my case it was the Explorer that was locking the DLL that was been compiled in the Debug folder... Strange, isn't it?
I found out using a tool called Unlocker.
Had to delete with Unlocker, even when it was saying that there was no lock over the file, and I couldn't delete the folder until I didn't delete that single file...
After that it compiled.
EDIT:
I found out why in my case this was happening. I had the DLL opened in a text editor inside Visual Studio...