In the package.appxmanifest, go to Packaging. There's a button that says "Choose certificate". Click on that and choose the certificate you want to sign the package with when you build it.
Looking at the pre-installed certificate for a random app that I opened indicates that the default is a SHA-256 certificate.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.