Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI failures on Uno.QuickStart #26

Closed
ghuntley opened this issue May 28, 2019 · 1 comment · Fixed by #41
Closed

CI failures on Uno.QuickStart #26

ghuntley opened this issue May 28, 2019 · 1 comment · Fixed by #41
Assignees

Comments

@ghuntley
Copy link
Member

Looks to be a configuration issue as UWP compiles fine from master. See https://uno-platform.visualstudio.com/Uno%20Platform/_build/results?buildId=4927 for specifics.

image

@artemious7
Copy link

artemious7 commented Aug 26, 2019

The UWP certificate MyApp.UWP/MyApp.UWP_TemporaryKey.pfx expired in May this year.

I tried to fix this but it didn't help.
I created a new certificate as explained here in the docs.

The powershell commands for this project:

New-SelfSignedCertificate -Type Custom -Subject "CN=com.example" -KeyUsage DigitalSignature -FriendlyName "Uno.Quickstart MyApp UWP certificate" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")

This command will display the new certificate thumbprint (C302F4B94B899C21E9B136FF03493918BE82228B), which we should use in the export command:

$pwd = ConvertTo-SecureString -String 1234 -Force -AsPlainText 
Export-PfxCertificate -cert "Cert:\CurrentUser\My\C302F4B94B899C21E9B136FF03493918BE82228B" -FilePath "C:\Users\User\source\repos\Uno.QuickStart\src\MyApp.UWP\MyApp.UWP_TemporaryKey.pfx" -Password $pwd

Then I simply disabled signing by adding the parameter /p:AppxPackageSigningEnabled=false to the msbuildArgs section in the YAML file. And the build was successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants