Wednesday, 4 December 2013

Error Deploying Visual Studio Workflows: Assembly signing failed

Hello Guys.

I had this C# Visual Studio 2013 code which was already in use, I had made modifications to it and it really needed to be deployed. But Alas, I click on "Deploy" and get the error message below

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.  {SolutionName}

I stopped for a moment to think what was done wrongly. I tried Cleaning, Rebuilding, Closing and Reopening the solution. But Alas, to no avail.

Then I checked all the opened projects and found out that the same signed on user had opened the same project solution. So all I had to do was close the close other opened project solution with the same name, deployed, and Viola, ERROR DISAPPEARED

So whenever you come across this such errors, check your opened projects.