User Profile
BartAucxis
Copper Contributor
Joined Mar 07, 2023
User Widgets
Recent Discussions
UWP app signing fails since vmImage-2022
When building an app on devops pipeline using this (part of the yaml) we recently are getting errors - task: VSBuild@1 inputs: platform: 'x64' solution: '$(solution)' configuration: '$(BuildConfiguration)' msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=SideloadOnly /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="$(signingCert.thumbprint)" /p:PackageCertificateKeyFile="$(mySecureFile.secureFilePath)" /p:PackageCertificatePassword="$(signingCert.password)"' While windows-latest was still windows 2019 everything worked, but since it got upgraded to windows 2022 the build is failing with the error. ##[error]C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets(4745,5): Error APPX1204: Failed to sign 'D:\a\1\s\src\Aucxis.Polaris.App.UWP.Gate\bin\x64\Release\Aucxis.Polaris.App.UWP.Gate_1.1.2.2050_x64.appx'. SignTool Error: The /p option requires the /f option. Now since signing is happing as part of the mailto:VSBuild@1 I'm not sure ow to proceeed in making things work again for windows-2022 images. For now i can continue building using windows-2019 images, but preferably we'dd go forward with the latest images.3.5KViews5likes6Comments
Recent Blog Articles
No content to show