Click here to Skip to main content
12,506,733 members (53,650 online)
Click here to Skip to main content
Add your own
alternative version

Stats

26.9K views
24 bookmarked
Posted

Creating a Virtual Windows Phone 8 Development Environment

, 6 May 2013 CPOL
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)

Share

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'.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
QuestionDoes this work on VMWare Fusion 6? Pin
Member 1081835221-May-14 1:59
memberMember 1081835221-May-14 1:59 
GeneralThank you a million thanks! Pin
K O'Hara29-Apr-14 18:27
memberK O'Hara29-Apr-14 18:27 
QuestionDoes this work on VirtualBox? Pin
Member 938672913-Nov-13 11:38
memberMember 938672913-Nov-13 11:38 
AnswerRe: Does this work on VirtualBox? Pin
midix28-Feb-14 2:36
membermidix28-Feb-14 2:36 
GeneralMy vote of 5 Pin
Mihai MOGA13-Jun-13 20:50
memberMihai MOGA13-Jun-13 20:50 
GeneralMy vote of 5 Pin
Abhishek Nandy10-Jun-13 9:07
memberAbhishek Nandy10-Jun-13 9:07 
GeneralRe: My vote of 5 Pin
Dylan Roy12-Jun-13 3:51
professionalDylan Roy12-Jun-13 3:51 
QuestionThank you! Pin
KansasCoder15-May-13 1:43
memberKansasCoder15-May-13 1:43 
AnswerRe: Thank you! Pin
Dylan Roy16-May-13 6:06
professionalDylan Roy16-May-13 6:06 
GeneralRe: Thank you! Pin
KansasCoder31-May-13 15:04
memberKansasCoder31-May-13 15:04 
QuestionThis will work same in 32 Bit OS Pin
Kiran Bandaru8-May-13 21:01
memberKiran Bandaru8-May-13 21:01 
AnswerRe: This will work same in 32 Bit OS Pin
Dylan Roy9-May-13 6:27
professionalDylan Roy9-May-13 6:27 
QuestionExplain Step 3 Pin
JP van Mackelenbergh5-May-13 19:11
memberJP van Mackelenbergh5-May-13 19:11 
AnswerRe: Explain Step 3 Pin
Dylan Roy6-May-13 0:42
professionalDylan Roy6-May-13 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 | Terms of Use | Mobile
Web02 | 2.8.160927.1 | Last Updated 6 May 2013
Article Copyright 2013 by Dylan Roy
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid