[UWP]无法签署UWP DesktopApp [英] [UWP]Cant sign UWP DesktopApp

查看:82
本文介绍了[UWP]无法签署UWP DesktopApp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

最近我在尝试签署我的应用程序时遇到了一些麻烦,所以它基本上是一个桌面应用程序,使用DesktopAppConverter转换为UWP。

So lately I been having some trouble trying to get my application signed, so its basically a Desktop app converted to a UWP with the DesktopAppConverter.

要工作的应用程序必须签名,并且需要证书文件已成功转换为.pfx 并且Certificated也创建得很好我怎么办不能签名。

The Application in order to work has to be signed and needs a certificate the file was converted successfully its a .pfx and the Certificated is also created just fine how ever I can not get it Signed.

我使用的代码是:

SignTool sign / fd<哈希算法> / a / f<证书路径> .pfx / p<您的密码> <文件路径> .appx

SignTool sign /fd <Hash Algorithm> /a /f <Path to Certificate>.pfx /p <Your Password> <File path>.appx

每当我尝试签名时,我都会得到:

Everytime I try to Sign it I get this:

SignTool错误:SignedCode :: Sign返回错误:0x800700C1

       有关详细信息,请参阅http://aka.ms/badexeformat

SignTool错误:尝试签名时出错:C:\ Users \ ***** \Desktop \\ \\文件名\FileName.appx
SignTool Error: SignedCode::Sign returned error: 0x800700C1
        For more information, please see http://aka.ms/badexeformat
SignTool Error: An error occurred while attempting to sign: C:\Users\*****\Desktop\FileName\FileName.appx

推荐答案


这篇关于[UWP]无法签署UWP DesktopApp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆