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?
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.
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:
Install WindowsPhone8SDK (solved on stackoverflow here, detailed instruction here, don't forget to aggree with numerous error and warnings)
Register and unlock your device by PhoneReg.exe tool ("...\Microsoft SDKs\Windows Phone\v8.0\Tools\Phone Registration\PhoneReg.exe")
Build your app in VS2010 (I haven't figured out how to deploy the app from VS, this doesn't work)
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)
Related
I need to bring back from the dead an app desined to Windows Mobile 5.
I tried to find an emulator but everything seems to be dead already.
Is there any emulator that can run Windows Mobile 5 on Windows 10 or Android?
Windows Device emulator is also part of VS 2003 and 2008. If you have a msdn developer subscription, you can still download and install these.
At my time as technical support engineer I had running the device emulator stand alone edition as well as VS 2008 running with windows 10. You can even get active sync up and running.
Contact me directly if you need more details.
Regards
Josef
I tried to use VIsual Studioi Community to create an Windows Phone App. It does work with my real Phone, but I want to use the Phone Emulator for obvious reason.
I'm aware, that I have to enable Hyper-V to start it. But the error message I get, looks a little strange. When I start Emulator 8.1 WVGA (or any other) I get this (german) message:
It says, that my operation system is not Windows 8. Well, it is Windows 10 with 64bit. So is there another Emulator for Windows 10?
Hi there i am a windows phone developer, I am unable to run my apps in the emulator, and it says to run the apps on a physical device. Can anyone help me with that because when I develop the apps in the express blend 2012 the windows phone 7 emulator opens up.
Plz help me in running my apps in the wp8 emulator in the visual studio.
You need to change the target from device to emulator in the start debugging button.
As #deeiip said, check whether the target is correctly set.
Else, you need to check if you have a hardware support of the SLAT. That is mandetory for running an emulator. Hyper-V needs that.
If that's not there, you won't be able to run an emulator ever.
you are needed to check Your System Configuration that it is as per the Requirements of Windows phone 8 Devlopment
For More information Check here
I am running win 8.1 x64 and have followed this guide because I tried to resolve this message:
I have found this kb article: http://support.microsoft.com/kb/2468307
I have also closed zune, deleted the certificates and restarted zune. which did not help
and also tried to add a copy of the certificate to the trusted ones, as listed in the kb article.
I am becoming desperate. The ipoverusbsvc is running fine. I did register a windows phone 8 device and have this error also at an other windows phone 7. So it is just my pc and windows phone 7 devices. Have tried an htc trophy and lumia 800 the lumia 920 (wp8) works fine.
The lumia 800 has an active sim in it. the trophy does not (I think) Is it required to have zune logged in (live id)?
edit I have read somewhere that you do not need to launch zune! When I navigate to C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x64
and run WpConnect.exe it gives this message:
Failed to connect to the device. Ensure that the device is completely booted and
is connected to the PC. (0x80070103)
But the phone is booted, swiped away the lockscreen... When I run phonereg.exe from C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\Phone Registration it tells me to verify that ipoverusbsrv should be up and running, which is up and running.
I also added zune to the firewall exceptions and followed these steps on the device: http://forums.wpcentral.com/developers-corner/211829-visual-studio-stopped-connecting-wp7.html
edit 2 I tried to install win 7 in a virtual pc to test if it works on that os. But I got a message that the wp sdk 8 cannot be installed on win7. it was packaged with the visual studio 2012 express for windows phone...
The device that wanted to be registered as a developer device should be logged in with a Microsoft Live account. If you can download any application from marketplace this means that phone is logged in.
Could you try again registering your device with another usb port or another micro usb cable?
The answer was to run Windows 7 in a virtual machine with Zune. It does not work on Windows 8.1 with Zune. You cannot register a Windows Phone 7 with windows 8.1
When I run phonereg.exe from C:\Program Files (x86)\Microsoft
SDKs\Windows Phone**v8.0**\Tools\Phone Registration
Your problem is "v8.0". I tried on a Windows 8 (not 8.1) machine running this file -
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\Phone Registration\PhoneReg.exe
and it worked like a charm. Note the "v7.1" in the path.
I tried to install win 7 in a virtual pc to test if it works on that
os. But I got a message that the wp sdk 8 cannot be installed on win7
Correct, but irrelevant. If you want to register a WP7 phone you need to use the WP7.1 SDK
Might be a bit late, but perhaps others try to register their phone in the last minute just like me:
Windows 8.1 Pro Update (= latest version as of today)
Control Panel → Program and Features → Turn Windows features on or off → .NET Framework 3.5
Zune 4.8
Windows Phone SDK 8.0
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\Phone Registration
I registered one phone with SIM inserted, one without.
I registered one phone with Windows Live ID, one without.
I registered one phone as Zune sync guest, one as full partner.
I registered one phone with Windows Phone 7.5, one with 7.8.
Windows Phone SDK 8.1 did not work for me.
Windows Phone SDK 7.1 did not work for me, even not in Windows 7 Ultimate (not required because the Windows Phone SDK 8.0 comes with SDK 7.1 actually).My Microsoft Account has two-step verification enabled.Now, these phones are listed in my Windows Phone Dev Center.
I installed Visual Studio 2012 and Windows Phone 8 SDK successfully. I created a new phone app and trying to run but it doesn't show me any emulators in Visual Studio 2012.
Make sure that your PC satisfies the system requirements for running the emulator:
Windows 8 Pro edition or greater
A processor that supports Second
Level Address Translation (SLAT)
If your computer meets the hardware and operating system requirements,
but does not meet the requirements for the Windows Phone 8 Emulator,
the Windows Phone SDK 8.0 will install and run. However, the Windows
Phone 8 Emulator will not function and you will not be able to deploy
or test apps on the Windows Phone 8 Emulator.
Source
Pretty much #Olivier's answer. Also, make sure you have Hyper-V enabled on your computer.
In lieu of this, There's a very nice tool on codeplex that pretty much checks if your computer is able to start hyper-v and the windows phone emulator.
If that passes, you'll want to follow this article in order to get hyper-v set up. Specifically the two enabling sections.
There was a post a little while back on what is required specifically here on stack overflow. It can be found here