Monday, 17 March 2014

Windows Phone Deploy

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
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx

No comments:

Post a Comment