Continuous integration failed - Code Signing - github-actions-for-desktop-apps

Jean-Marc Flamand 31 Reputation points
2022-05-27T13:05:06.627+00:00

Ref my Github workflow job : CI.NET 6.0 Desktop #17

I'm learning CI/CD from microsoft / github-actions-for-desktop-apps Repos

I'm now doing code signing using github secret but when I trigger the SigningEnabled to true
I have the following error error : No certificate found with the supplied thumbprint: 2E6......

To solve this I try to remove the text between the tag <PackageCertificateThumbprint></PackageCertificateThumbprint> in the "MPC-MassPropertiesCalculator.Installer.wapproj" file, but did get the following error in Github workflow run CI.NET 6.0 Desktop #16
A signing key is required in order to package this project. Please specify a PackageCertificateKeyFile or PackageCertificateThumbprint value in the project file.

Can you help me to solve desktop app code signing using Github Secret ?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,676 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
766 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Tucker 5,846 Reputation points
    2022-05-29T00:42:53.14+00:00

    Did you check in the certificate with the project? Error looks like it cant find the certificate.

    1 person found this answer helpful.
    0 comments No comments