I want to make a simple windows phone 8 app. And I have installed on my pc:
OS : Windows 8 pro
Visual studio 2013
SDK 8.0
And when I debug my app it give error below:
Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.
For resolving this error, when I an installing windows 8.1 Emulator it give me error below:
This computer does not support the windows phone emulator, which require the 64-bit edition of windows 8.1 Pro and a computer that support Hyper-v,
And my system type is 64-bit OS, x64-based processor.
Kindly suggest me for resolving this issue, I am waiting for your reply.
Thanks.
Does your computer support Hyper-V ? If it doesn't, then you can't run the emulator on your machine. According to the below Microsoft link,
Your computer’s BIOS must support the following requirements, and they must be enabled:
Hardware-assisted virtualization.
Second Level Address Translation (SLAT).
Hardware-based Data Execution Prevention (DEP)."
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524%28v=vs.105%29.aspx#hyperv
Related
I have finally added the universal tools to visual studio 2015 Community,and I have created a windows phone project,after that,I tried to install windows phone 8.1 emulators but I get this message:
my system is:
Windows 8.1 Professionnel
Processeur: Intel(R) Pentium(R) CPU P6200 #2.13Ghz 2.13Ghz
RAM:4.00Go
System Type: 64 bits,x64 processor
I know that my PC dosn't accept virtualisation,is there please any windows phone emulator I can dowload to test my windows phone application
thanks a lot for help
if your CPU doesn't support VT-x you are out of luck. Hyper-V requires VT-x and SLAT support support to run. Your extremely old CPU doesn't support both requirements.
Buy a newer laptop/2-1 device with a CPU that supports Hyper-V.
My computer (32-bit) doesn't support Windows Phone emulator,which requires the 64-bit edition of windows 8.1 Pro (My computer windows 8.1 enterprise) and a computer that supports Hyper-V
what should i do to fixed it ??
Nothing you do will make the emulator run on 32bit Windows. Your only option is to install 64bit Windows.
To run emulator, follow these steps:
Check if your processor supports SLAT. Here is a guide to check for this feature using CoreInfo: How to Check if Your CPU Supports Second Level Address Translation
If your processor doesn't, get a new processor/PC.
Install Windows 8.1 64 bit (both Pro and Enterprise will work).
Or you can simply deploy your app in a physical device (get a cheap Lumia 4XX or 5XX) and test.
I've got:
Microsoft Windows 8.1 Pro (64bit, Russian language) on a laptop
6GB RAM
Core i5 with Hyper-V support
Hyper-V enabled in BIOS and I can create virtual machines through Hyper-V manager
Visual Studio 2013 (Update 2/Russian language)
And I can't install Windows Phone 8.1 emulator. I checked Hyper-V settings by CoreInfo and I've got "Hypervisor is present (-)". I tried Damir tip (http://developers.de/blogs/damir_dobric/archive/2012/10/14/windows8-error-hypervisor-is-not-running.aspx), but in bcdedit I've got hypervisorlaunchtype set to auto.
Does anyone know, what also I should check except the checklist (http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524.aspx)?
I've already used Windows Phone 8.0 emulator on my laptop about year ago. Since that time I changed only HDD (to hybrid HDD) and reinstalled everything.
Error message from installer.
On English: Your computer doesn't support Windows Phone emulator for which you need a 64bit Windows 8.1 Pro and a computer with Hyper-V support. See additional information here go.microsoft.com/fwlink/?LinkId=394063
Original: Этот компьютер не поддерживает эмулятор Windows Phone, для которого требуется 64-разрядный выпуск Windows 8.1 Pro и компьютер, поддерживающий Hyper-V. Дополнительные сведения см. по адресу http://go.microsoft.com/fwlink/?LinkId=394063
Check that your system supports Hyper-V through this simple tool:
If yes, then tel me. let me give an easy way to activate emulator on your PC.
To check BIOS settings for SLAT by using the MachineSLATStatusCheck tool from Codeplex
Download and run the following tool from Codeplex. This tool has a simple graphical user interface.
Download MachineSLATStatusCheck
I download the Windows 8.1 / IE 11 VM from modern.ie, start it in VMPlayer and want to install the Visual Studio 2013 Preview. The installer does not offer to optionally also install the Windows Phone SDK 8.
I thought the reason might be the Phone Emulators need Hyper-V.
I changed the VM Operating system type from Windows 8 to Hyper-v and checked the Box "Virtualize Intel ..." in the Processor Settings.
When I call systeminfo on the command line in the Virtual Windows 8.1 it reads:
VM Monitor Mode Extensions: Yes
Virtualizaion Enabled in Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
Is it possible to run the Phone SDK in a virtual Windows 8.1?
I have no idea what the installer is checking before offering (or not) to install the Phone SDK. That Virtualization might be the issue is only a guess.
Sort of. You can install the SDK separately if you don't install the emulator, but you cannot run the emulator because you're already in a Hyper-V VM, Inception VMs are not allowed. Hopefully MS will let you connect from VS to a sibling VM someday.
It turned out, the problem was not the virtualization.
The VM I started to work with was a 32 bit Installation of Windows 8.1 Preview. Since the Stand alone Phone SDK could only be installed on an 64 bit system, I setup an own VM with the Windows 8.1 64 bit preview and tried again. When I installed the VS 2013 ultimate preview it was possible to check the Phone SDK.
Hyper-V was activated when the VS installation finished.
The VM's operating system is set to Windows 8 64 bit
After installing Visual Studio 2012 express for Windows Phone 8 on my machine along with the SDK I notice that I do not have the option to Debug to a Windows Phone 8 Emulator ?
Any specific workaround or fixes to resolve this would be helpful?
My Bad, the PC I am using does not support Hardware Virtualization.
I installed multiple times and finally noticed this message at Launch time.
This Computer does not support hardware virtualization, which means Windows Phone Emulator 8.0 can't run on this PC.
If others run into this, here is what I found out.
My Intel Core 2 Duo T9550, don't support SLAT, which is needed to enable Hyper-V, which is again needed to run the WP8 emulator...sigh...
You can run this Coreinfo tool to see what your CPU supports. Follow the guidance here:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx#system
The Windows Phone 7.1 SDK emulator works fine on my machine btw.
The Windows Phone 8 Emulator runs in Hyper-V.
Hyper-V requires a processor that supports SLAT (Second Level Address Translation).
List of SLALT (EPT) Intel CPUs: http://ark.intel.com/Products/VirtualizationTechnology
So any Core2Duo does not Support Hyper-V :/
Here is a tool to test your CPU: http://slatstatuscheck.codeplex.com/