Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

in android, we right click to our project, click export and get the apk.

For windows phone 8 , in visual studio 2012, how can i export my application into my desktop or somewhere ?

Anyone can help about it ?

Thanks !

like image 584
Kuthay Gumus Avatar asked Apr 17 '13 07:04

Kuthay Gumus


People also ask

How do I publish a Visual Studio project to a server?

On the computer where you have the ASP.NET project open in Visual Studio, right-click the project in Solution Explorer, and choose Publish. If you have previously configured any publishing profiles, the Publish pane appears. Click New or Create new profile.


2 Answers

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
like image 112
rahulroy9202 Avatar answered Nov 05 '22 12:11

rahulroy9202


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

like image 37
outcoldman Avatar answered Nov 05 '22 12:11

outcoldman