VSTS Build failed when associated with Hockey App
VSTS Build failed when associated with Hockey App
I am trying to associate my UWP App build with the Hockey App but it's getting failed.
Below are the configurations I have set:
For Build:
MSBuild Arguments:
/p:AppxBundlePlatforms="$(BuildPlatform)"
/p:AppxPackageDir="$(Build.ArtifactStagingDirectory)AppxPackages"
/p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload
For Hockey App:
Binary Path:
$(Build.ArtifactStagingDirectory)AppxPackagesUWPVSTSBuild_$(AppxVersion)_TestUWPVSTSBuild_$(AppxVersion)_x86_x64_ARM.appxbundle
$(Build.ArtifactStagingDirectory)AppxPackagesUWPVSTSBuild_$(AppxVersion)_TestUWPVSTSBuild_$(AppxVersion)_x86_x64_ARM.appxbundle
Error that I am getting after build process:
Error: Not found binaryPath: D:a1aAppxPackagesUWPVSTSBuild_$(AppxVersion)_TestUWPVSTSBuild_$(AppxVersion)_x86_x64_ARM.appxbundle
Is there anything that I am missing in the parameter?
Ohh, Actually I don't have "AppxVersion" variable declared? Can you please help me on how to set this variable taking version number as a dynamic value.
– Dishant
Aug 27 at 6:19
Got it, I added '"AppxVersion"' this variable in my build definition. Will update you once the build in completed.
– Dishant
Aug 27 at 6:27
Another question is that how do you configure your project to generate the output with name "UWPVSTSBuild_$(AppxVersion)_x86_x64_ARM.appxbundle", according to the settings in MSBuild agruments, you didn't set it. It would be helpful if you can share the build logs for msbuild step.
– Eddie Chen - MSFT
Aug 27 at 6:31
If it works, then no more questions. :)
– Eddie Chen - MSFT
Aug 27 at 6:56
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Do you have a variable named "AppxVersion" defined in the build definition? According to the logs, it was not expanded during the build.
– Eddie Chen - MSFT
Aug 27 at 6:13