Visual Studio 2010程序集签名:试图引用不存在的令牌 [英] Visual Studio 2010 Assembly Signing: An attempt was made to reference a token that does not exist
本文介绍了Visual Studio 2010程序集签名:试图引用不存在的令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图用我们的PFX文件在Visual Studio 2010中签名程序集,在输入私钥的密码后,我得到试图引用不存在的令牌
I'm trying to sign an assembly in Visual Studio 2010 with our PFX file, after I enter the password for the private key I get "An attempt was made to reference a token that does not exist"
推荐答案
我有同样的问题。只需从Visual Studio命令提示符中使用 signtool
即可。有时 signtool
会声称您的密码无效,但是通常经过几次尝试后,它才开始为我工作。
I have the same problem. Just use signtool
from the Visual Studio command prompt instead. Sometimes signtool
will claim your password is invalid, but usually after a couple of tries it starts working for me.
signtool.exe标志/ f YOURCERT.pfx / p YOURPASSWORD YOURTARGET.exe
这篇关于Visual Studio 2010程序集签名:试图引用不存在的令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文