2

The title pretty much sums it up. I've written a Windows Phone 7 application and now I want to deploy it to a Windows Phone 8 device (HTC Windows Phone 8X). I have registered and unlocked this phone for development.

When I plug in the phone via USB and I want to deploy to it using Visual Studio 2010 it keeps on stating that a deployment error occurred as Zune wasn't started up. Windows Phone 8 phones now don't use zune though.

How can I get around this so that I can deploy the WP7 app to the phone?

mmmmmm
  • 32,227
  • 27
  • 88
  • 117
  • Are you sure that it's possible? This suggests that it isn't http://stackoverflow.com/questions/8923508/building-windows-8-metro-app-on-windows-7-with-visual-studio-2010 – Kevin Brydon Jan 24 '13 at 13:58
  • While that refers to Windows 8 apps and not Windows Phone 8, the premise still holds true. It's not possible. – anothershrubery Jan 24 '13 at 13:59
  • @Kevin Brydon - I have heard though that Windows 8 CAN run Windows 7 apps? http://stackoverflow.com/questions/13724852/are-windows-phone-7-apps-compatible-on-windows-phone-8-devices –  Jan 24 '13 at 14:04
  • Just as a possible solution (very inconvenient): publish the app as beta to the market; you'll be able to install it on the wp8 device then – Sergei Grebnov Jan 24 '13 at 19:30

2 Answers2

5

You can't deploy to a Windows Phone 8 device without the Windows Phone 8 SDK, which requires Visual Studio 2012, which also requires Windows 8. So without upgrading, you can't do it.

anothershrubery
  • 20,461
  • 14
  • 53
  • 98
  • I have heard though that Windows 8 CAN run Windows 7 apps? http://stackoverflow.com/questions/13724852/are-windows-phone-7-apps-compatible-on-windows-phone-8-devices So when you mean upgrading, you mean not upgrading the app, but upgrading my version of visual studio? –  Jan 24 '13 at 14:03
  • Yes, if you read what I wrote, you need the WP8 SDK AND VS 2012 AND Windows 8. Windows Phone 8 devices will run WP7 apps that they download from the store (mostly), but if you want to run a development WP7 app on a WP8 device you need ALL the prerequisites above. – anothershrubery Jan 24 '13 at 15:24
  • Also please don't confuse Windows 8/7 with Windows Phone 8/7. – anothershrubery Jan 24 '13 at 15:24
  • Additionally, thinking back to when I installed the SDK, I believe you'll need the Windows 8 PRO upgrade in order to run the emulator. – lhan Jan 24 '13 at 15:32
  • @anothershrubery - Thank you very much, I installed The Windows 8 PRO upgrade on my PC, along with Visual Studio 2012 and the Windows 8 SDK. I then opened my WP7 project in VS2012, and ran the emulator. It worked both on the emulator and my actual Windows 8 Device. –  Jan 25 '13 at 06:26
2

Hard to believe, but it's really possible. I deployed WP7.1 application to the Windows Phone 8 device (HTC 8X) from Windows7 x64 machine:

  1. Install WindowsPhone8SDK (solved on stackoverflow here, detailed instruction here, don't forget to aggree with numerous error and warnings)
  2. Register and unlock your device by PhoneReg.exe tool ("...\Microsoft SDKs\Windows Phone\v8.0\Tools\Phone Registration\PhoneReg.exe")
  3. Build your app in VS2010 (I haven't figured out how to deploy the app from VS, this doesn't work)
  4. Deploy the app by XapDeploy.exe tool ("...\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment\XapDeploy.exe"). Select the "Device" and point to the directory with *.xap file (...\AppName\Bin\Debug)
Community
  • 1
  • 1
Yuriy Shinbuev
  • 427
  • 4
  • 7