Featured Posts

New book development for Windows 8 and Windows Phone 8 New book development for Windows 8 and Windows ... For some time, I'm a little out of the hustle and bustle of blogs, twitter and others. The other reason has not been possible to make a wish he had long, ...

Read more

Preparing for the # MegathonW8 and II - Installing development tools. Preparing for the # MegathonW8 and II -... Once we have our brand new Windows 8 installed on your virtual hard drive, according to the steps of the first chapter of this guide. What we have to do is settle ...

Read more

Preparing for the # MegathonW8 and I Installing Windows 8 on a VHD Preparing for Installation # MegathonW8 and I ... This is the first post in a series of them whose intention is to provide attendees megathon to be held shortly, the instructions needed to know ...

Read more

Megathon scholarship for Windows 8 Megathon scholarship for Windows 8 As you all already know, the next on 7, 8 and 9 September in several Spanish cities at the same time hackathon on development ...

Read more

[Offtopic] job offer. [Offtopic] job offer. My Mother, until now I had not really realized what I have abandoned my blog, as time passes fast God ... Too many things to do both within ...

Read more

Windows Phone and .NET Rss

The emulator in Windows Phone 8 SDK and Hyper-V

Posted on: 10/30/2012 | By: Technology | In: Windows Phone 8

7

As you all surely know, and if you do not know and I tell you that's why I'm here, the newly released SDK for Windows Phone 8 is only possible to install on machines with 64-bit operating systems.

What is the reason ?, well then surely there will be many, but one of them is the new emulator to test our applications, is not an emulator to use as we had in Windows Phone 7.5, but an image SO virtualized through the Hyper-V technology and Microsoft technology supports only 64-bit systems as you can see on your requirements .

This to me means a great advantage over previous versions emulator. On the one hand gives it more stability and higher performance, on the other hand launch several emulators at the same time a rather more easily than before task is done, the image management of our Windows Phone emulated are now manageable and not as before they were a single file and sometimes had to stick with session files that were hanged and others ...

Emulator_WP8_0

Well, get to work and we will prepare to launch our brand new site emulator and see its potential.

Emulator_WP8_1

Go the first on the forehead, Visual Studio warns me gently that you may not be enabled in the BIOS support for hardware virtualization, needed to launch Hyper-V and therefore the emulator.

But the first serious check if your system is capable of running Hyper-V and if you have the hardware necessary to do so. I remind you that we need our machines run the Hardware-assisted virtualization , SLAT (Second Level Address Translation) and DEP (Hardware-based Data Execution Prevention).

If this sounds like Chinese and you have no clue what I'm talking maybe it's unburden this small Microsoft utility called Coreinfo to check all these requirements.

Just after unburden Coreinfo, we run it in the command line with administrator with the parameter -v

  C: \> Coreinfo.exe -v 

This will show us a series of data capabilities of our processor.

Emulator_WP8_6

We must make sure we have an asterisk in the last 2 features, capacity and hardware virtualization SLAT presente.y to tell us that the hypervisor is present.

Finally we have to do another check, in this case running Coreinfo without any input parameter.

  C: \> Coreinfo.exe 

Among all the features that we must look presents the NX option, which will tell us whether we have the ability to DEP (Hardware-based Data Executivo Prevention) or not, with an asterisk.

Emulator_WP8_7

Once we checked everything, we know that we have to have an asterisk in the 3 characteristics mentioned and see Hypervisor present, if this is not so we can start thinking about buying another computer or simply forget to test our applications on the emulator Windows Phone 8.

If we are lucky to have all these requirements, we simply go to our system BIOS and activate Hardware virtualization is normally disabled. In my case I have just to go to the Features section of the CPU in my BIOS and activate it:

WP_000453

Just one more thing, after checking your system and enabled in the BIOS virtualization option, we add our Windows user to the Administrators group of Hyper-V, to spare any permission issues and others when assigning hardware the emulator. To do this simply go to the team manager and section assign the user to the administrators group our Hyper-V.

Emulator_WP8_4

Emulator_WP8_3

Well, ready, once completed these steps, the next time you run the emulator debugging, show us the notice of execution with elevated privileges if not run and Visual Studio with administrator permissions.

Emulator_WP8_9

Here our brand new emulator ready to begin testing our applications to Windows Phone 8.

Emulator_WP8_10

Print Friendly

Share

Comments (7)

[...] Rafa Serna: The emulator in Windows Phone 8 SDK and Hyper-V. Understanding is needed because Hyper-V to run the new emulator, such as [...]

[...] Of Microsoft, called Coreinfo. You can find more information in the following article Rafa [...]

Hello,

I have a Hyper-V virtual machine with Visual Studio, but when I install the Windows Phone SDK emulator does not work because I can not install the Hyper-V within a Hyper-V ... .. Apparently I can not work with Windows Phone SDK within an emulator of Microsoft itself.

My computer if you have support because if it works on my PC host ... do not know how to do it in a virtual machine .... Any ideas???

then sorry to say that for me has screwed microsoft. I've spent a week to install the emulator and have failed in the end I will be developed on android is infinitely easier to launch an emulator.
Either this changes or not grow much think the store of microsoft

Excellent all Nokias buy Lumnia, Android is very, very wrong with low-end, well IOS too expensive and the truth is far from satisfactory, Nokia Lumnia 520 is excellent and cheap, no Android in this segment compared with the same fluidity the system is excellent, no lags and Android and super great, totally recommended.

[...] Of Microsoft, called Coreinfo. You can find more information in the following article Rafa [...]

[...] Call Coreinfo. You can find more information in the following article Rafa [...]

Write a comment