Pergunta

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.

Foi útil?

Solução 2

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.

Outras dicas

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 configuration WP emulator running inside VMWare Player

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top