Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Signing
Hello,

I'm having an error when compiling my solution in Visual Studio 2010.

It gives me this error "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.".

I have the same strong name key to all the projects in the solution (can this be the problem?).

Sometimes i'm able to compile it, but most of the time, gives me this error in one or another project. To be able to compile the solution i have to compile each project at a time.

Can you help me please?

Best regards

Bruno Fernandes
Posted 21-Feb-13 1:57am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What I have seen when I have had this is that VS2010 is compiling the code across multiple processes and it does not always play nicely with each other. To get around this, you can go into the Tools->Options->Projects and Solutions->Build and Run and then change the maximum number of parallel projects to 1. You might be able to experiment with 2 or 4, but the value defaults to the number of cores that you have. This will make your builds slower since it will only compile 1 project at a time, but I have seen this type of issue go away once I backed down on the parallel compiling.
  Permalink  
Comments
bsilence at 21-Feb-13 11:17am
   
Hello, thank you for your help, but this didn't solved my problem...
Steve Maier at 21-Feb-13 17:10pm
   
Another thing that it could be is Symantec Auto-Protect. I am actually seeing that at work today. I am testing with putting my source code folder as an exception to the Auto-Protect. I don't see this at home because I use Vipre there and not Symantec.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Take a look at this link
 

Error Deploying Visual Studio Workflows
 
I hope this helps.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 400
1 Sergey Alexandrovich Kryukov 329
2 Afzaal Ahmad Zeeshan 264
3 BillWoodruff 245
4 CPallini 195
0 OriginalGriff 5,560
1 DamithSL 4,476
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 24 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100