We had a build problem while creating our UWP application, and I would like some ideas or you would have solutions to our headaches!
Background:
We want the CI server to generate the .appxupload file for sending to the repository. We have already done this with this command:
msbuild.exe App.sln /t:Rebuild /p:Configuration=Release /m
HOWEVER , this no longer creates the appxupload file. But it successfully generates applications.
Our setup :
- VisualStudio 2015 Update 2
- appxupload is what we want
- AppxBundle installs as Always
- AppxPackageIsForStore is set to True
- The application is a minimal application. All I did was: New solution -> Empty -> Create storage package from VS
What works :
- Generating appxbundle files using the command line
- Creating appxupload files using Visual Studio (right-click project β Save)
But ... have you tried ...?
Perhaps we searched and tried to mention many of them. Some of the materials we have read and tried include:
These are the different commands that we tried to create the appxupload file. They all work and generate three appx files and one appxbundle. But none of them generates the required 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 that someone finds this interesting problem and comes with everything that will lead us to a solution!
THANKS in advance :)
source share