Reputation: 922
Visual Studio 2013 - Started to receive the error: "Error signing assembly -- Unknown error (8013141c)" when compiling. Few of the projects are signed using a snk file. It used to compile and has been in production for quite some time.
Upvotes: 11
Views: 9541
Reputation: 634
Building on Mangist above, his solution worked for me, but I have Windows 10 so MachineKeys are in a different folder. I gave myself full control (probably only need read/write) of the following folder:
C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys
It said access denied for some of the keys, but once the process was done, I no longer see the Error signing Assembly issue.
Upvotes: 4
Reputation: 3255
This is a permission issue. To resolve this error; open the following folder - “C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys”, and give your user (whatever account you use to log onto your computer and work on Visual Studio) full control. You can do it by right-clicking on the MachineKeys folder and select properties, and in the security tab, make sure the current user have full control.
Upvotes: 24
Reputation: 1434
open the project properties, go to the Signing Tab and uncheck the Sign the assembly checkbox.and rebuld
Upvotes: -4