How can I speed up the Windows Phone 8.1 Emulator? - windows

My laptop meets (exceeds) all requirements for running the Windows Phone 8.1 Emulator in VS2013, and it works fine, only it takes literally 15 minutes to start the emulator and then the app, still running slowly. Does anyone know how to improve the speed?

Use the Hyper-V manager to disable checkpointing. Pick the emulator image in the Hyper-V manager and go to options/settings. This should speed up the Windows Phone OS loading/initializing phase.

Related

Phone Emulator on Windows 10

I tried to use VIsual Studioi Community to create an Windows Phone App. It does work with my real Phone, but I want to use the Phone Emulator for obvious reason.
I'm aware, that I have to enable Hyper-V to start it. But the error message I get, looks a little strange. When I start Emulator 8.1 WVGA (or any other) I get this (german) message:
It says, that my operation system is not Windows 8. Well, it is Windows 10 with 64bit. So is there another Emulator for Windows 10?

Didn't find windows phone 8 emulator

I installed Visual Studio 2012 and Windows Phone 8 SDK successfully. I created a new phone app and trying to run but it doesn't show me any emulators in Visual Studio 2012.
Make sure that your PC satisfies the system requirements for running the emulator:
Windows 8 Pro edition or greater
A processor that supports Second
Level Address Translation (SLAT)
If your computer meets the hardware and operating system requirements,
but does not meet the requirements for the Windows Phone 8 Emulator,
the Windows Phone SDK 8.0 will install and run. However, the Windows
Phone 8 Emulator will not function and you will not be able to deploy
or test apps on the Windows Phone 8 Emulator.
Source
Pretty much #Olivier's answer. Also, make sure you have Hyper-V enabled on your computer.
In lieu of this, There's a very nice tool on codeplex that pretty much checks if your computer is able to start hyper-v and the windows phone emulator.
If that passes, you'll want to follow this article in order to get hyper-v set up. Specifically the two enabling sections.
There was a post a little while back on what is required specifically here on stack overflow. It can be found here

windows phone emulator not supported due to graphics processing unit configuration (windows 7 on mac)

I'm getting an error when I start up the windows phone emulator:
windows phone emulator not supported because your computer does not have the required graphics processing unit configuration. An XNA framework page will not function without a graphics processing unit. Do you want to continue starting the emulator?
And when I attempt to access a web page (any web page) - I just get a blank screen. How do I resolve this?
I'm running windows 7 on a mac.
Check out the system requirements for the emulator on MSDN.
Start by updating your graphics drivers to the latest available. If that doesn't work the next step would be to upgrade the graphics card, if you can.
A PC which won't run the emulator can probably still be used to develop and debug on a real device.
It may be you're also trying to run the latest SDK 7.1 which is far more restrictive than 7.0. If you find yourself unable to run 7.1, dropping down to 7.0 may work on your particular machine.
If you are running Windows 7 on a Virtual Machine on Mac OS X it won't work because there are some restrictions on running a Virtual Machine inside a Virtual Machine.
The quick and easy solution for this is installing Windows 7 in bootcamp, it worked for me.

Run WinPhone7 Emulator on Windows7 under VirtualBox

My main OS is Windows XP. I install VirtualBox and now have Windows 7 under VirtualBox. I install WinPhone7 Emulator and try run it. But all that I can see is window of emulator with text "Windows Emulator is doing a complete OS boot...". I waited a very long time. I tried to reboot, reinstall the Windows7 and many more. Result of my attempts is zero. It is possible run WinPhone7 Emulator under Virtual Box? What I can do for work with WinPhone7 Emulator without switch main OS?
The emulator doesn't support running under a VM.
Setup and System Requirements for Windows Phone Emulator
The emulator is a VM itself which is partly what makes this unsupported.
Some people have had varying results running under unsupported environments such as XP, VMWare, Bootcamp... but as yet I've not seen anything posted for the VM you mention.
You have a step by step procedure here: Windows Phone 8 SDK on a Virtual Machine with Working Emulator
It uses VMWare but it does allows you to run the Windows Phone 8 emulator in a VM.
I've been using this for a few days with good results. I dont have a Windows Phone 8 device yet, so I didn't tried to deploy but its good enough to start playing with it.

Windows phone 7 takes forever to deploy

I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
The emulator isn't supported running inside or side by side other VM's at this stage. It is implemented as a VM itself. VM's running on windows platforms will be detected by the emulator startup and a specific error message provided. I've noticed several people having the same issue from Parallels on Mac ... presumably the VM detection doesn't work over there to stop the attempt.
System requirements documented here and here for your reference.
Similar to how we have to run a Mac to develop for iPhone without hassles, you'll need to run a PC to develop for Windows Phone 7 - at least for now.
You may also find your issue with the WIndows Phone Emulator is because the Emulator actually the real phone ROM running in a Virtual Machine.
Since your situation is a VM (Windows 7 on Parellels on Mac) this may explain your performance issue. Developers using VMWare have had similar issues plus Virtual PC / Hyper-V does not support Windows Phone 7 at all.
Running virtual machines on virtual machines is a massive performance hit, your only solution may be a cheap PC installation of Windows Phone 7 tools etc on compatible hardware ie Graphics Card / with WDDM 1.1 compatible drivers etc.
For my WP8 deployment, I notice that disconnecting my MacBook Air from the power source will slow the deployment down considerably (so will the debugging and tracing).
Simply plug the laptop back to the power source and everything will become fast again.
Don't kill the emulator between debug sessions. There is no need.
Also - Visual Studio 2010 Express For Windows Phone, which is installed with the tools, is much more responsive as it has less features running.
So if speed is really an issue, that may be an option.

Resources