How to build Windows 10 appxupload(ready to submit to store) package by command line

柔情痞子 提交于 2019-12-10 18:38:23

问题


Tried with msbuild command line as msbuild App1.sln /t:Publish /p:Configuration=Release and also tried as described in http://blogs.msdn.com/b/wsdevsol/archive/2014/02/12/create-a-windows-store-appx-package-and-sign-it.aspx, only appx packages are built which cannot be used to submit to store.


回答1:


Try to add the /p:AppxPackageIsForStore=true parameter.




回答2:


We're using option: /p:UapAppxPackageBuildMode=StoreUpload

There's a good related blog post here: https://blogs.msdn.microsoft.com/wsdevsol/2016/01/08/windows-store-app-projects-stopped-generating-the-appxupload-file-after-installing-vs-2015-update-1/

And some more specific documentation from Microsoft on this option



来源:https://stackoverflow.com/questions/33688321/how-to-build-windows-10-appxuploadready-to-submit-to-store-package-by-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!