Tips for Running Microsoft’s Windows Phone 8 Emulator in VMWare

Now that Sencha Touch supports Windows Phone 8, I thought that I’d give one of my new apps a whirl in Microsoft’s Simulator to see how well it worked.

Of course, as is frequently the case with products from Mr. Softie, things are never as easy as they seem – particularly when running their products on a mac.

First and foremost, you’ll need to purchase Windows 8 Professional 64-bit…and a machine with at least 8 GB of RAM (I’m running a 13″ Macbook Air)

Install Windows 8 into a new VM with the following settings:

  • Disk space: 30 GB (~20 GB will be used by the OS and Microsoft Vis Studio)
  • Memory: 3.5GB
  • CPU: 2 Cores (minimum)

After completing the installation process for Win 8, shut it down, go into your VM settings and select the following:

  • Settings > CPU and Memory > Advanced > Enable hypervisor applications (checked)
  • Settings > Advanced > Preferred virtualization engine: Intel VT-x with EPT
  • General > OS > Hyper-V (unsupported)

Next, launch Windows and install the Microsoft Windows Phone SDK from the following URL:

Once the SDK (which includes Visual Studio Express) has been installed and licensed, you can launch the emulator by running Visual Studio Express 2012 for Windows Phone, creating a new Windows Phone 8 project, and then clicking on the Emulator WVGA 512MB button. 

By default, your hardware keyboard is disabled in the emulator. Enable the hardware keyboard by selecting VMware Fusion > Virtual Machine > Send Key > Pause Key.

Conversely, you can disable keyboard support in the emulator by repeating the enablement steps.

From the emulator, you can browse your web server in OSX via your OS/X IP Address (System Preferences > Network)

Happy testing!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s