Reputation: 3274
When I create a UWP app package from Visual Studio, running the app certification is optional. However, when building the app in an Azure Devops pipeline, I don't know how to bypass the certification.
Here is the task:
task: VSBuild@1
displayName: Build solution **/MyApp_UWP.sln
inputs:
solution: '**/MyApp_UWP.sln'
vsVersion: 15.0
msbuildArgs: '/p:AppxBundlePlatforms="$(BuildPlatform)" /p:AppxPackageDir="$(Build.ArtifactStagingDirectory)\AppxPackages\\" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
platform: x86
configuration: '$(BuildConfiguration)'
Upvotes: 3
Views: 738
Reputation: 7891
You can also add /p:AppxPackageSigningEnabled=false
to msbuildArgs
.
Upvotes: 1
Reputation: 281
Just replace /p:UapAppxPackageBuildMode=StoreUpload
with /p:UapAppxPackageBuildMode=Sideload
.
You won't be able to upload the so created package to the Store but you still can Sideload it.
Upvotes: 3