首页 > 解决方案 > Maintaining UWP Certificates With Xamarin Forms

问题描述

So, I have a few questions regarding Signing Certificates used for UWP. I've got 2 scenarios. Please guide me accordinly.

I logged into my Visual Studio Account (Normal User) in Visual Studio and I worked on a Xamarin Forms app, that had a UWP project associated as well. Now, I bought a developer account and then created app package for the same app and uploaded on the microsoft store. Everything went fine and my app was released without any issues.

Now, I after some time, I wanted to push an update to that UWP app. Now, everytime I try to upload a new update package, I get errors, which you can read in THIS question here.

So, I've pretty much given up on that one. Now, I created a new app, and I have logged into my dev account in VS. I now want to create and register a new app. But, how should I go about Exporting, Importing and saving that signing certificate?

I read somewhere that VS handles this and signs the package with proper certificate of the logged in account, but that scenario isn't really working out for me.

Could some one please guide me properly what I'm missing here.

EDIT: It's not the duplicate question (at least that's what I can make of). Because, this question is asked to avoid the scenario that comes in marked question. Anyways, I never got any working/satisfactory answer in that as well.

标签: xamarin.formsuwpcode-signing-certificate

解决方案


对于第一种情况:

包 Comic_dl.UWP_2.1.15.0_ARM_x86_x64.appxbundle 需要很长时间来处理。

1.您最好将.msixupload或.appxupload类型的包上传到商店。

2.您需要确保您使用的网络环境对上传包没有限制。(您可以尝试不同的网络来消除此问题或使用Fiddler跟踪您的网络)

对于第二种情况:

但是,我应该如何导出、导入和保存该签名证书?

对于您的新应用提交,无需导出或导入签名证书,您应该清理您的应用,然后将其与新应用名称关联(VS 将更新新证书以进行发布)并重新构建应用,然后创建应用包裹。


推荐阅读