Today I got this strange error and took me a while to figure it out. It turned out I have two active sessions on the server. At a time I was disconnected and then I reconnected but I got a new session.
“Error 1 Assembly signing failed; output may not be signed — Error signing assembly — The process cannot access the file because it is being used by another process. “