开发者

"Format is not recognized" error while trying to sign xap-file with signtool

开发者 https://www.devze.com 2022-12-25 23:56 出处:网络
I am trying to follow this tutotial: http://channel9.msdn.com/learn/courses/Silverlight4/Overview/Overview/Moving-Beyond-the-Browser--Elevated-Trust-Applications/#_Toc256192962

I am trying to follow this tutotial:

http://channel9.msdn.com/learn/courses/Silverlight4/Overview/Overview/Moving-Beyond-the-Browser--Elevated-Trust-Applications/#_Toc256192962

in order to sign my silverlight application.

But on the last step which is something like that:

signtool sign /v /f c:\Demo\TestOOBCodeSigningCA.pfx /p password c:\Demo\SilverlightApplication2\SilverlightApplication2.Web\ClientBin\SilverlightApplication2.xap

I got the following error:

SignTool Error: This file format cannot be signed because it is not recogn开发者_运维问答ized

SignTool Error: An error occured while attempting to sign: c:\Demo\SilverlightApplication2\SilverlightApplication2.Web\ClientBin\SilverlightApplication2.xap

What can be the reason?


You must install the Silverlight 4 runtime on the signing machine. If you have only installed the SL 3 runtime so you will receive the error "This file format cannot be signed because it is not recognized"

0

精彩评论

暂无评论...
验证码 换一张
取 消