Reputation: 2019
Issue: When building a UWP using the VSTS build service no .appxupload
file for store submissions is created.
What I did: I created a build definition using the Universal Windows App template that contains 4 build steps. Apart from setting the repository to my external Git repository I didn't change anything.
After the build finishes I only have the _Test
folder in my drop. No .appxupload
file.
What I tried so far:
UapAppxPackageBuildMode
(set to CI
) switch to the MSBuild arguments. I did it exactly as shown there. However, neither the .appxupload
nor the _Test
folder are created but the build step itself completes successfully. (Actually, the AppxPackages
folder that is specified by default using the AppxPackageDir
switch is missing, too)Create App Packages...
option from within Visual Studio. This results in both, the .appxupload
and _Test
folder.AppxPackageIsForStore
(set to true
). This will generate the _Test
folder but still not .appxupload
package.Upvotes: 1
Views: 2461
Reputation: 31023
I could reproduce your issue. If don't use argument /p:UapAppxPackageBuildMode=CI
, I could only get _Test folder. If add argument /p:UapAppxPackageBuildMode=CI
, I'll get error message during Publish Artifact step:
Not found PathtoPublish: C:\a\1\b\AppxPackages
But I just tried argument /p:UapAppxPackageBuildMode=StoreUpload
, it can generate both _Test
folder and .appxupload
file, you may have a try.
Upvotes: 1