2
votes

I have created a vmware of windows 8.1 in order to develop a wp8 app.

My pc specs :

  • i7 2670 (2.2)

  • 8 gb ram

  • win 7 64

My VMware Player spec:

  • 60 gb hdd

  • 4 gb ram

I have installed in the VMware Player visual studio 2012 update 4, and all the wp stuff.

When i am trying to build my project i am getting this error:

 emulator Cannot assign the specified number 
 of processor for virtual machine  is out of range

I have searched on the internet but all links i have found refereed to parallels. Nothing helpful for VMware .

I have read this article. I have enabled hyper-v, but i am not sure if VMware can support hardware virtualization, which i think is needed.

My question are 2:

  1. Is these any possible solution to this problem?

  2. If i got a device and try to debug on device i suppose that i will not have any problem. Am i suppose well?

I will appreciate any help.

Thx for your time.

3
The Windows Phone 8.x emulators use Hyper-V, not VMWare Player. Out of curiosity, why are you using VMWare?Dai
@Dai I have win7 pc. In order to develop wp8 app i need win8(as far as i know). So the easy way is to create a win8 machine with all the stuff for development (emulators, studio etc).kostas ch.
You need Windows 8 for WP8 development because of the requirement for Hyper-V. Note that you cannot run Hyper-V within another virtualisation platform like VMWare. You'll need to boot directly into Windows 8.Dai
@Dai That's i was thinking. Thx for your advice. Very helpful. I suppose if i have wp8 device i could use VMWare?kostas ch.
Provided VMWare performs USB redirection (so the Windows 8 VM can communicate with the device), I don't see why not.Dai

3 Answers

3
votes

VMWare Player v6. You need to tick Virtualize Intel VT-x/EPT or AMD-V/RIV in virtual machine configuration for WP emulator running. VMWare Player virtualization configurationWP emulator running inside VMWare Player

2
votes

As per the comments on your question, I'll explain:

You can perform Windows Phone 8.x development on Windows 7 or later provided you have a physical device, however if you want to use the Windows Phone 8.x emulators then you need to have Hyper-V available, this is because the WP8 emulators run as Hyper-V virtual-machines, side-by-side with your main operating system.

Therefore, to use the WP8 emulators you must be running Windows 8 Pro, Windows 8 Enterprise or Windows Server 2012 (or later, e.g. Windows 8.1 Pro). The standard "Home edition" of Windows 8 does not include Hyper-V. Read up about Client Hyper-V on TechNet.

Hyper-V requires hardware virtualisation and, as an accelerated platform with hardware requirements, will not run within another virtualiser (this is in contrast to how you can run VirtualBox or VirtualPC under Hyper-V). You must be running Windows 8 Pro as your "root" operating system.

0
votes

You actually also need to edit the .vmx file in VMWare Player in order for Hyper-V to be available to the Windows Phone emulator.

Give your VM >= 4GB RAM, 2+ processors, then open the .vmx file for the VM and add:

hypervisor.cpuid.v0 = “FALSE”

Then save, start the VM, and install Windows.

I'll also point out that this works flawlessly on my MacBook Pro Retina running a Hyper-V capable Windows distribution inside of Parallels and Visual Studio 2013 CE.