How to get a certiciate to build WinUI3 store application

Peterjc 91 Reputation points
2022-12-06T01:35:34.623+00:00

Hi, I am nearing completing my WinUI3 application to replace my existing UWP store application.

However I am (once again) facing certificate issues, which is causing the build to fail when building on my build server (it build fine via Visual studio on my dev machine).

So, I have a separate package project.

I have associated my app with the store, selecting my existing application (can't upload image for some reason image upload is not working)..

I have double clicked on the
Package.appxmanifest
, and select Choose a Certificate. I don't use create, as this is a self signed cert (which is useless).

So I select "Select from store" | more choices and I find a certificate there that has the correct "GUID"/ID that matches the store (fist go I selected another cert I had there but the the ackage ID did not match that of the store, so upload was rejected) .
Looking at the properties it says this certificate is not trusted, so export it and install on the build machine.

But when I build, I get the following error

error : Certificate does not match supplied signing thumbprint: AAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBB  

AAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBB is not the real thumbprint (not sure if this need ot be kept secret so just put in some dummy text)

So, my question, is really just, how to I get a certificate (and use it) to build the application for the store (and also have the _Test version we can sideload to test)

Thanks in advance

Microsoft Partner Center | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.