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?





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





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.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)