error signing assembly unknown error

用VS2010 编译 C#工程,出现 

Cryptographic failure while signing assembly 'Assembly.dll' -- 'Unknown error (8013141c)'

解决方案:

1. 浏览至如下路径:

 XP: %SystemDrive%Documents and SettingsAllUsersApplicationDataMicrosoftCryptoRSAMachineKeys

 Win7: %SystemDrive%ProgramDataMicrosoftCryptoRSAMachineKeys

2. 将登陆者设置为管理员权限。

3. 获取这个文件夹的权限:

a) 右键此文件夹,选择 Property

b) 将用户的权限设置为 “Full Control”,点击“Apply”。

参考链接:

http://polydevmono.blogspot.com/2006/10/error-8013141c-in-visual-studio-or.html

http://polydevmono.blogspot.com/2005/12/uninstalling-existing-strongname-keys.html

原文地址:https://www.cnblogs.com/cindy-hu-23/p/3560730.html