How to enable Windows Phone 8 emulator in Visual Studio 2012

CArringt

Bit poster
Hi guys,

I'm running parallels 8 on a Macbook Pro Retina with Windows 8.

I've install the SDK for WP8 development and obviously the emulator doesn't work.

However, some of my co-workers have been able to get this to work on VMWare using the changes outlined below.

Is there anyway to do something similar with parallels?


Before running the Windows 8 VM, a couple of configuration changes are
needed.
This is really the new finding, at leads to me:

All the credit goes to a person called Juha and his posting at:
http://communities.vmware.com/thread/423744?tstart=0

1) Added (or cheeked they are present) to .vmx file these rows:
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhv.enable = "TRUE"
2) Settings -> CPU and memory -> Advanced: checked "Enable hypervisor
applications in this virtual machine"
3) Settings -> CPU and memory: make sure 2 Cores (or more?) are
assigned to the Virutla machine
4) Settings -> Advanced: Preferred virtualizationn engine: Intel VT-x
with EPT
After restarting Win 8 x64 VM, the HyperV system (and e.g. WIndows 8
Phone SKD debugging / Windows Phone Emulation) works perfectly.
 
I have a late 2010 MBP (Core i5) with Parallels Desktop 7, guest OS Win 8 Pro. The Windows 8 Phone Emulator requires Hyper-V support (which is not supported by Parallels).

So I tried (evaluation ver.) VMW Fusion 5 and modified the config to support hyper-v (similar to described above, Google search will return more info). I can confirm that the Win 8 Phone SDK works on Fusion. The only change I did to the .vmx file is add/modify these (along with 2 core support):

hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"

Might have to switch to VM from PDT.
 
I need this too.

I'm having the same issue. Hyperv enables but when the wp emulator tries to start I get a "generic" failure. I guess its no surprise a virtual machine doesn't run in a virtual machine.

Is there some way parallels can get this working?


For those of you that HAVE to have this. You can boot camp windows 8 and hyper v will work. I found running boot camp through parallels and directly when I needed the emulator to be pretty good, but not ideal obviously. also without official bootcamp drivers for windows 8 its a bit of a pain.
 
Ah, thanks Stephen. I was considering switching to VMware.

I was using boot camp at work for a while because it seemed so much faster and as a .net developer I seldom use anything outside of windows anyway. I was happy with the speed in Parallels 8 so I've been using that.

Pretty bummed though that I have to use my phone for all of my debugging, much slower than using the emulator for the majority. :(
 
Running a MBP retina with 8gb of ram. Set one cpu per instructions. 4g of ram for the vm and turned on the nested hyper v.

Random crashes and errors, several reports sent to parallels. The VM wouldn't run long enough to actually get VS or the emulator running to test.

Also I followed the instructions provided in the kb.
 
Hi Paul,
could you please give me reports IDs? Or just send us one more report and give me ID, i'll do the rest myself.

Hanna
 
Mine is Retina MBP with customize 16G Memory.
Set 1 or 2 CPU and 4G ram with the setting in the Link is workable.

And don't know why recommend only 1 CPU for PD ?

PS: The Lan can't set to virtual Wifi or the WP Emulator can't connect to the network.
 
So far today it hasn't "crashed" but I have some weird video problems. and the emulator fails to start completely
 

Attachments

  • Capture.PNG
    Capture.PNG
    84.4 KB · Views: 22
  • music.jpg
    music.jpg
    23.5 KB · Views: 22
Same here, after installing the latest build and enabling nested virtualization, I get really weird video output (like the others' screenshots) from the time I log in to my Windows 8 desktop in the VM. If I shut down the VM, turn off nested virtualization, then turn it back on, the video issues go away. I also experienced a hang while starting the VM the first time I turned it on after enabling nested virtualization.

Thanks! Hope this issue gets resolved in the next build so that I can use the WP8 emulator. Pushing the app package to the phone each time I run it is soooo slow.
 
I have had the same issue, but after I disabled 3D video acceleration I have not seen the issue anymore.
 
Back
Top