2

我在 2 个月前创建了构建 WinRT 日志,现在我要安装侧加载。 Sideloadingstep(Clickme) 并出现错误

Found bundle: C:\Users\jitendra.jadav\Downloads\iLitInstructor_3_1_5\iLitInstructor\iLitInstructor_3.1.5.314_Debug_Test\
iLitInstructor_3.1.5.314_x64_arm_Debug.appxbundle
Found certificate: C:\Users\jitendra.jadav\Downloads\iLitInstructor_3_1_5\iLitInstructor\iLitInstructor_3.1.5.314_Debug_
Test\iLitInstructor_3.1.5.314_x64_arm_Debug.cer
Error: The developer certificate "C:\Users\jitendra.jadav\Downloads\iLitInstructor_3_1_5\iLitInstructor\iLitInstructor_3
.1.5.314_Debug_Test\iLitInstructor_3.1.5.314_x64_arm_Debug.cer" has expired. One possible cause is the system clock isn'
t set to the correct date and time. If the system settings are correct, contact the app owner to re-create a package or
bundle with a valid certificate.
Press Enter to continue...:

注意:系统日期是正确的..

如果它在开发中,我的情况会有所不同,那很好,但我们有不同的环境,如 QA、Staging 和 Prod,所以......应用程序已经在 Staging 上,这个开发者许可证有效期为 1 年,但只有 1 个月所以假设应用程序处于暂存环境中,我将如何将此应用程序安装到我的设备中。?我没有选择生成新证书并进行新构建...有没有办法实现这一点..?如果是,那么如何...注意:不进行新构建。如何解决这个问题呢..

谢谢你,~Jitendra。

4

1 回答 1

2

我怀疑 Visual Studio 为应用程序生成的临时证书已经过期;从项目创建之日起,它只有 1 年的有效期。

由于您是开发人员,因此您可以在 Visual Studio 中轻松检查。双击Package.appxmanifest文件以打开设计器,然后单击“打包”选项卡。单击此处的选择证书...按钮并检查到期日期

证书到期日期

如果它已经过期,您将需要创建一个新的临时证书。单击配置证书...按钮并从下拉列表中选择创建测试证书。您只需确认提供的默认值即可生成新证书。

现在重建项目,重新创建包并尝试在测试机器上再次对其进行 sidaloding。

于 2015-01-02T07:27:00.313 回答