Visual Studio 2010 Assembly Signing: An attempt was made to reference a token that does not exist

前端 未结 4 515
有刺的猬
有刺的猬 2021-02-05 07:11

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

4条回答
  •  囚心锁ツ
    2021-02-05 07:53

    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 sign /f YOURCERT.pfx /p YOURPASSWORD YOURTARGET.exe

提交回复
热议问题