Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Running Windows Phone 8 Emulator within VMware Virtual Machine

0.00/5 (No votes)
9 Nov 2013 1  
Running Windows Phone 8 Emulator within VMware Virtual Machine

Introduction

My development environment is now fully virtualized, and this caused a problem when I tried to do to some Windows Phone 8. Realistically I try to avoid running a virtual machine from within another virtual machine but this is not always an option. For Windows Phone 8 development, the phone emulator that can be used for development runs on Hyper-V within Windows 8 Pro.

My Environment

  • VMware Workstation 9
  • Host Operating System: Windows 8 Pro
  • Guest Operating System: Windows 8 Pro
  • Visual Studio 2012

The first time I tried to start up the phone emulator, I got a wonderfully vague error message:

“The windows phone emulator wasn’t able to create the virtual machine: generic failure”

I suspected this was because of me trying to launch a virtual machine from within another virtual machine, so I researched it and found a manual work around for vmware workstation. Simply appending the following line to the *.vmx file for my virtual machine fixed my problem:

hypervisor.cpuid.v0 = “TRUE”

After making this change, I was able to successfully start the phone emulator via Visual Studio 2012 without any issues.

emulatorscreen

If you want to read more about this, I suggest checking out the blog posts that I list under References. All contain good information to give you a better understanding of what’s going on and why.

References

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here