Developing for Windows Phone 8

The Windows Phone 7 SDK can be installed on Windows 7, but the Windows Phone SDK 8.0 can be installed only on Windows 8.

Also, in order to use the emulator for Windows Phone 8, certain conditions need to be met on the system that will host the development.

  • The system must support Hyper-V (virtualization software on Windows).
  • The processor on the system must support Second Level Address Translation (SLAT), also known as Extended Page Tables on Intel processors. These are supported by any processor that begins with I such as core i3, i5 and i7.
  • Virtualization must be enabled in the BIOS.
  • Data Execution Prevention must be enabled.

A tool called Coreinfo, available at http://technet.microsoft.com/en-us/sysinternals/cc835722 can be used to check if the above features are supported.

Coreinfo -v must be run  from a cmd prompt with administrative privileges.

coreinfo

Coreinfo output on a system with virtualization and SLAT, but with Hyper-V absent (the – indicates the feature is absent, while the * indicates it is present).

Some systems (e.g. laptops bought in “emerging markets” such as India) have a basic edition of Windows known as Windows 8 Single Language or Windows SL. However, Windows 8 SL does not support Hyper-V, a must for running the Windows Phone 8 emulator. As a result, you may have to upgrade your edition of Windows 8 SL to Windows 8 Professional. This can be done by going to Computer Properties and selecting “Get more features with a new edition of Windows 8”. You will then be prompted to purchase a product key online.

Once the key is purchased, you will get a dialog that says “Adding New Features”, “This might take a while depending on whether there are updates. Your computer might restart more than once”. That’s it. There are no ISOs to download, no DVDs to use – the additional features (including Hyper-V) are installed automatically from the local Windows 8 SL installation on your hard drive.

SystemInfo

The “Get more features with a new edition” link in System Info (from Computer | Properties), on a system running Windows 7.

WindowsFeatures

From Control Panel | Programs | Turn Windows Features on or off. A system with Hyper-V absent. Once Hyper-V is installed, it will show up here.

Once Hyper-V is installed, you should be able to run the Windows Phone 8 emulator.

 

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s