Forum Discussion
AndreiBel
Sep 10, 2023Copper Contributor
Signtool cannot sign msix file produced by dotnet publish
Used dotnet publish to generate a msix package (from Blazor MAUI project). During the process, dotnet has signed the msix file using our EV certificate, but it did not time-stamp it. So we’ve decided...
AndreiBel
Sep 13, 2023Copper Contributor
Checked the logs, did not see anything of relevance there.
I just tied it again with a fresh new .NET MAUI Blazor project, generated by Visual Studio, and used the Visual Studio Publish command (instead of dotnet publish), and the result was the same: signtool could not sign the MSIX file it produced. I believe it's a problem with signtool.
I just tied it again with a fresh new .NET MAUI Blazor project, generated by Visual Studio, and used the Visual Studio Publish command (instead of dotnet publish), and the result was the same: signtool could not sign the MSIX file it produced. I believe it's a problem with signtool.
Iomegan
Apr 07, 2025Copper Contributor
I have the exact same issue. Have you been able to fix it?
- Apr 07, 2025
I cannot speak to the specific issue, but most of the time for someone signing MSIX packages for the first time the issue is that the PUBLISHER field of the AppXManifest file inside the package must EXACTLY match the string that is the subject name field of the certificate.