Forum Discussion
myevit
Mar 09, 2023Copper Contributor
SignTool Error: This file format cannot be signed because it is not recognized.
Trying to sign the msix
signtool sign /fd sha256 /f $env:CODEBUILD_SRC_DIR\qwe.pfx /t http://timestamp.digicert.com "$env:CODEBUILD_SRC_DIR\PackageBuild\$APP_VERSION\qweqwe-$env:BRANCH_$APP_VERSION.msix"
SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: C:\codebuild\tmp\output\src605\src\asd.org\zxc\asd\PackageBuild\0.40.0.0\qweqe-0.40.0.0.msix
Using AWS windows 2019.2 core codebuild image
Installed windows 11 SDK 10.0.22621.0
when I copy the msix to redular windows 2019 server and run the same command - no issues. package has signed.
MakeAppx from the same installation works also with no issues.
No RepliesBe the first to reply