cordova - UWP导入第三方代码签名证书失败

标签 cordova uwp visual-studio-cordova code-signing-certificate sideloading

我已经构建了一个 Windows 10 Cordova 应用程序,并计划将其侧载为供内部使用的企业应用程序。

在测试过程中,我们使用 Apache Corodva 证书对包进行签名。

现在,我们正在尝试使用公司的代码签名证书对其进行签名以进行生产。但是遇到以下问题:

The Manifest Designer could not import the certificate.

The certificate you selected is not valid for signing because it is either expired or has another issue"

我通过链接讨论了 Visual Studio 需要设置的属性以接受它并按照说明进行操作。

我还错过了什么。

最佳答案

我们处于同样的情况(但企业代码签名证书未过期),并且必须跳过签名检查才能在 Manifest Designer 中导入证书。

打开项目文件 (.csproj),然后在第一个 PropertyGroup 元素下添加以下行。

<EnableSigningChecks>false</EnableSigningChecks>  

并且应用程序可以成功侧面加载。希望这对您的情况有所帮助。

关于cordova - UWP导入第三方代码签名证书失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51453006/

相关文章:

android - Action 处理过程中的 ionic 错误!试图恢复

android - 任务 ':CordovaLib:compileDebugRenderscript' 执行失败。 > 缺少 llvm-rs-cc

android - 验证 ant.properties 中的别名是否正确

android - Apache Cordova 错误的 Visual Studio 工具

android - net::ERR_FILE_NOT_FOUND file:///android_asset/www/index.html 找不到

ios - 如何在没有 JQuery Mobile 脚本的情况下在 Cordova 应用程序中的 iOS 中获得平滑快速的滚动

c# - 获取StreamSocket的连接状态(UWP)

c++ - 当有许多函数要导入时替代 `LoadPackagedLibrary`

使用 xsd.exe 或 svcutil.exe 的 UWP 和 Xamarin 的 C# XML 序列化

visual-studio - 如何使用 visual studio 2013 社区创建 ionic 应用程序?