WP8 emulator on Vmware player not running - windows-phone-8

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:
Is these any possible solution to this problem?
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.

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

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.

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.

Related

Windows phone Configuration

I have 4GB Ram and Windows 8.1 OS and Intel Pentium Dual Core Processor.
There are many requirements to run Windows phone emulator. Two of them are cutting off a relevant part of machines:
Hyper-V virtualization
SLAT technology
Here the official documentation: https://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
You do not satisfy these requirements, you can't install it. However you should get a popup reporting that the SDK will be installed without the emulator.

How can I start phone emulator on HyperV or share phone through RDP?

I want to see how far I can take my Surface 2 for developing in Visual Studio 2013. Please note that this is a Surface 2 running WinRT - not full version.
Here is my setup
Surface 2 on desktop mode with RDP.
Windows 2012 running HyperV with a Windows 8.1 VM.
On the Windows 8.1 VM I have installed VS 2013. Naturally, HyperV gets installed as well.
My problems
My first thought was that I could use the Emulator but it complains that it failed to start because some of the Hyper-V components are not running. After some research this seems to be the result of Hyper-V in Hyper-V.
Then I tried to use an alternate approach. To share my Windows Phone through USB. I inserted my "Nokia Lumia 1020" in USB port of Surface 2. I could then see it in my desktop. Also, when I started RDP application I could see "Nokia Lumia 1020" under Local resources->Other supported Plug and Play devices. I checked it for sharing. I connected again but the phone was not visible on the guest operating system.
Anyone else done this? Either know how to circumvent the Hyper-V in Hyper-V or share the phone for development (through RDP).
You can't use hyper-v without windows 8 pro, I'm sorry... Try nokia's device rdp (http://developer.nokia.com/resources/remote-device-access) ...

Install Win 8.1 and VS 2013 on virtual machine for Win mobile development

On my laptop I have installed Win 7 and VS 2012.But I need to get ready for the Microsoft exam for the "windows store apps using HTML 5, css and javascript". So my idea is to install Win 8.1 and VS 2013 trial versions for get hands on practice for above exams.So my question is can I install Win 8.1 and VS 2013 trial versions on my Laptop without removing the current Win 7 and VS 2012 (Maybe a virtual machine or something like that)?If you know how to achieve above goal please let me know.
In short my whole idea is to get practice for developing Win 8 apps for mobile. If you have other suggestions without installing the above software, please let me know also.
Windows Phone App Development requires Hyper-V & SLAT to run the emulator. That requires your host OS to be at least Windows 8 or better. On a virtual machine you will be able to develop apps, but you won't be able to run them on the emulator.
You can run Visual Studio 2012 and 2013 side by side, but then you would have to upgrade the host machine to Windows 8 Pro.
When both your laptop and your virtualization software support the required CPU features, it is also possible to run the emulator on top of Windows 7.
For more information see this link on the Nokia Developer Portal (Thanks for adding that GSerg!)
General answer (jessehouwing's answer is more accurate):
If your notebook has enough main memory, CPU power, etc. and the CPU ideally supports certain virtualization features, then you should be able to install Windows 8 inside a virtual machine.
To give you an idea how simple this could be, here's an example:
install VirtualBox
start it and set up a virtual machine with the proper CPU and OS settings
define a virtual hard disk that's large enough (this will end up being a file inside your current OS, no need to repartition your real hard disk drive)
get your Windows installation medium ready (a CD or ISO file will do)
point your VM's virtual CD drive to that installation medium
start the virtual machine and install Windows inside it

Visual Studio Ultimate 2013 Preview does not Install Phone SDK 8 in VM

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

Do not see Windows Phone 8 Emulator from Visual Studio 2012 express for Windows Phone 8

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/