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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -