“无法识别格式”尝试使用signtool签署xap文件时出错

发布于 2024-08-28 05:21:43 字数 765 浏览 2 评论 0原文

我正在尝试遵循这个教程:
http://channel9.msdn.com/learn/courses/Silverlight4/Overview/Overview/Moving-Beyond-the-Browser--Elevated-Trust-Applications/#_Toc256192962
为了签署我的 silverlight 应用程序。

但在最后一步是这样的:

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

我收到以下错误:

SignTool错误:由于无法识别此文件格式,因此无法对其进行签名
SignTool 错误:尝试签名时发生错误:c:\Demo\SilverlightApplication2\SilverlightApplication2.Web\ClientBin\SilverlightApplication2.xap

可能是什么原因?

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 recognized
SignTool Error: An error occured while attempting to sign: c:\Demo\SilverlightApplication2\SilverlightApplication2.Web\ClientBin\SilverlightApplication2.xap

What can be the reason?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

∞琼窗梦回ˉ 2024-09-04 05:21:43

您必须在签名计算机上安装 Silverlight 4 运行时。如果您仅安装了 SL 3 运行时,那么您将收到错误“此文件格式无法签名,因为无法识别”

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"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文