We're having a build issue while building our UWP application and would love some ideas or if you have, solutions to our headaches!
Background:
We want to have a CI server generate a .appxupload file for store submission. This we have previously done using this command:
msbuild.exe App.sln /t:Rebuild /p:Configuration=Release /m
HOWEVER, this is no longer generating an appxupload file. But it is successful in generating appxbundles.
Our setup:
What works:
But... Have you tried...?
Maybe, we've done a lot of searching around and tried things mentioned in a lot of them. Some of the stuff we've read and tried includes:
These are the different commands we've tried to generate an appxupload file. All of them work and generate three appx files and one appxbundle. But none generate the wanted appxupload :(
msbuild App.sln /p:Configuration=Release;AppxBundle=Always;OutDir=C:/TEMP;BuildAppxUploadPackageForUap=true
msbuild App.sln /p:Configuration=Release;AppxBundle=Always /p:BuildAppxUploadPackageForUap=true
msbuild App.sln /p:Configuration=Release;AppxBundle=Always /p:BuildAppxUploadPackageForUap=True /p:AppxPackageIsForStore=True
MSBuild App.sln /p:Configuration=Release;AppxBundle=Always;AppxBundlePlatforms="x86|x64|ARM"
msbuild App.sln /t:Build /p:Configuration=Release /v:q /nologo
msbuild App.sln /t:Build /p:Configuration=Release /p:AppxPackageIsForStore=true /v:q /nologo
msbuild App.sln /t:Build /p:Configuration=Release /p:BuildAppxUploadPackageForUap=true /v:q /nologo
msbuild App.sln /t:Build /p:Configuration=Release /p:AppxPackageIsForStore=true /p:BuildAppxUploadPackageForUap=true /v:q /nologo
I really hope someone will find this an interesting issue and come with anything that will lead us towards an solution!
THANK YOU in advance :)
Could you try “UapAppxPackageBuildMode=StoreUpload” option.
I could create .appxupload file with this option.
MSBuild App.sln /p:Configuration=Release;UapAppxPackageBuildMode=StoreUpload
https://blogs.msdn.microsoft.com/wsdevsol/2016/01/08/windows-store-app-projects-stopped-generating-the-appxupload-file-after-installing-vs-2015-update-1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With