I have downloaded Windows Phone sdk and but it gave me an error about Hyper-V and asked me to restart. I restarted the computer and start a new windows phone 8 project and when I debug it gave me this error.
Can't start Windows Phone Emulator
The Windows Phone Emulator requires Hyper-V. Your PC is missing the following pre-requisites required to run Hyper-V - Windows 8 Professional (64 bit)
Is there any way I could get this work?
The system requirements documentation for the windows Phone 8 emulator states that you need a 64-bit version of Windows 8 Pro edition or higher. I suspect you do not have a Pro edition.
You can still develop apps for Windows Phone 8 on a non-Pro edition, but you can't use the emulator - you have to debug on a registered Windows Phone 8 phone.
只需执行一个简单的任务,转到此路径 控制面板 --> 程序和功能 --> 打开或关闭 Windows 功能 --> 确保已检查 Hyper-V 现在重新启动计算机
To allow Hyper-V (assuming you have a windows 8.1 Pro or windows 10 pro)
Go to cmd, run it as admin and tape the following :
bcdedit /set hypervisorlaunchtype auto
To turn it off (Because you will quickly get into some problems while not debugging)
bcdedit /set hypervisorlaunchtype off
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.