msbuild: build as to a appxbundle (AppxBundle=Always not working) -


i have shared windows8.1 project phone , desktop project in it. defined different configurations build x86/x64 desktop , arm phone.

msbuild works fine without error, there no final *.appxbundle file on output folder (or anywhere else) although set parameter appxbundle=always.

my command looks this:

msbuild myapp.sln /p:outputpath=%outpath%;configuration=phone;platform=arm;appxbundle=always;appxbundleplatforms=arm /t:rebuild,publish

the output is:

outpath ├── forbundle │   └── appxmanifest.xml ├── appxmanifest.xml ├── app.windowsphone.build.appxrecipe ├── app.windowsphone_3.2.1_arm.appx ├── app.windowsphone_3.2.1_scale-100.appx ├── app.windowsphone_3.2.1_scale-140.appx ├── app.windowsphone_3.2.1_scale-180.appx ├── resources.pri └── somedependency.winmd 

i tried pack folder makeappx.exe bundle didn't work , realized folder looks bit different appxbundle.

creating appxbundle via vs gui no problem, automate step!

thanks in advance!

there's hint comment in microsoft.appxpackage.targets:

when building on command line or in tfs (determined looking @ $(buildinginsidevisualstudio) property), if build invoked on app package-producing project, package project produced part of building project without specifying additional flags or targets. control msbuild property named generateappxpackageonbuild set true default.

if $(buildinginsidevisualstudio) = false , $(generateappxpackageonbuild) = true, build produce package. true


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -