WP 8: How to deploy/export Application from Visual Studio

有些话、适合烂在心里 提交于 2019-12-04 09:36:06

Each time when you build you project - Visual Studio builds XAP file, which is actual package for uploading it to Windows Phone Store or deploying to the real device. This may help Submit your app

For Windows Phone you get a XAP file instead of an APK file.

The XAP in the ARM Release ie- ..\<Project Folder>\Bin\ARM\Release\ should be submitted to the Windows Store or Deployed to Device. Windows Phone Devices uses ARM based processors.

To generate the output-

  • First Select Release from the Solution Configuration DropBox.
  • Then go to configuration manager and change the AnyCPU field to ARM.
  • Then Build the project.

To Run on Device-

  • Open Application Deployment(a program that is installed with the Windows Phone SDK)
  • Select Target Device(Phone should be connected by USB and Unlocked. For WP 7 you need Zune.)
  • Browse and Select the XAP file in the \Bin\ARM\Release\
  • Click Deploy Button

To Run on Emulator- (use AnyCPU Build Configuration)

  • Open Application Deployment(a program that is installed with the Windows Phone SDK)
  • Select Target emulator.
  • Browse and Select the XAP file in the \Bin\x86\Release\
  • Click Deploy Button

After building your application with VS, If you want to deploy your app, simply go to your Windows SDK folder for instance C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0

and open XapDeploy.exe under *Tools\XAP Deployment*

search for your *.xap file which is in your bin project's folder (for instance C:\Users\user\Documents\Visual Studio 2012\Projects\HTML5App1\Bin\Debug)

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