Click here to Skip to main content
Click here to Skip to main content

Creating a Virtual Windows Phone 8 Development Environment

, 6 May 2013
Rate this:
Please Sign up or sign in to vote.
Setting up a Windows Phone 8 Virtual Development Environment

Introduction

Like me, many developers didn't want to switch Operating Systems to develop for Windows 8 and Windows Phone 8 (WP8). After following the instructions in this tip, if you are one of these developers, you will be able to start developing for WP8 while keeping whatever Operating System you currently have.

Requirements

In plain English, your computer just needs two things. First, your computer must have Hyper-V or any virtual machine you try to setup will not work, also your Windows phone emulator will not function even if you were just setting up Windows 8 without doing it in a VM. The second requirement is that you must have a 64 bit computer. There may be other things you need, but for the most part, if you didn't have these, you would be dead in the water.

Gather the Following

The following items will be needed to start setting up this development environment:

Setting Up the Environment

Step 1: Start by installing your VMware Player.

Step 2: Once that is setup, locate your Windows 8 x64 Image (.iso). With your VMware player, create a Virtual Machine with that Windows 8 Image.

Step 3: In Notepad, open C:\Users\{YOUR USERNAME}\Documents\Virtual Machines\{VM NAME}\{VM NAME}.vmx.

Once that file is opened, append the following items:

hypervisor.cpuid.v0 = "FALSE" 
mce.enable = "TRUE" 

 

 Note:  These options that you provide tell your VMware configuration not to report to the Hyper-V that it's running in a virtual machine. Hyper-V checks if it's running in a virtual machine, and after this check if it is running in a virtual machine Hyper-V will not work. Since the emulator uses Hyper-V it would not work without these options configured.   

 

 

 

 

 

 

Step 4: Install Visual Studio 2012.

Step 5: Install the Windows Phone 8 SDK. 

Since we did Step 3, we should be able to run this development environment as a virtual machine in VMware.

Conclusion

This installation is pretty straight forward as long as you remember to do Step 3.
I didn't pollute the tutorial with too many details since I have a technical audience here, and as a result made it more straight forward.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Dylan Roy
Software Developer
United States United States
I am a professional software and web developer. I have developed many different websites, and software systems. I enjoy working with the newest technologies, as long as it doesn't cripple the backwards compatibility of my clients'.
Follow on   Google+

Comments and Discussions

 
QuestionDoes this work on VMWare Fusion 6? PinmemberMember 1081835221-May-14 1:59 
GeneralThank you a million thanks! PinmemberK O'Hara29-Apr-14 18:27 
QuestionDoes this work on VirtualBox? PinmemberMember 938672913-Nov-13 11:38 
AnswerRe: Does this work on VirtualBox? Pinmembermidix28-Feb-14 2:36 
GeneralMy vote of 5 PinmemberMihai MOGA13-Jun-13 20:50 
GeneralMy vote of 5 PinmemberAbhishek Nandy10-Jun-13 9:07 
GeneralRe: My vote of 5 PinprofessionalDylan Roy12-Jun-13 3:51 
QuestionThank you! PinmemberKansasCoder15-May-13 1:43 
AnswerRe: Thank you! PinprofessionalDylan Roy16-May-13 6:06 
GeneralRe: Thank you! PinmemberKansasCoder31-May-13 15:04 
QuestionThis will work same in 32 Bit OS PinmemberKiran Bandaru8-May-13 21:01 
AnswerRe: This will work same in 32 Bit OS PinprofessionalDylan Roy9-May-13 6:27 
QuestionExplain Step 3 PinmemberJP van Mackelenbergh5-May-13 19:11 
AnswerRe: Explain Step 3 PinprofessionalDylan Roy6-May-13 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 6 May 2013
Article Copyright 2013 by Dylan Roy
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid