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 bit out of the hustle and bustle of blogs, twitter and others. The other reason has not been possible to do 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 must 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 of a series of them which is intended to provide attendees megathon to be held soon, the necessary instructions for ...

Read more

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

Read more

[OFFTOPIC] JOB OFFER. [OFFTOPIC] JOB OFFER. My Mother, so far I had not really realized how I have abandoned my blog, as time goes fast god ... Too many things to do both inside ...

Read more

Windows Phone and. NET Rss

The emulator on Windows Phone 8 and Hyper-V SDK

Posted on: 30-10-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 brand new SDK for Windows Phone 8 is only possible to install it on machines with 64-bit operating systems.

What is the reason?, Well, surely will be many, but one of them is that the new emulator to test our applications, it is not an emulator to use as we had in Windows Phone 7.5, but an image SO virtualized through Hyper-V technology and Microsoft technology is only compatible with 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 greater stability and greater performance, moreover throwing various emulators while a rather more easily than before homework is done, the image management of our Windows Phone emulated are now manageable and not as before they were a single file and sometimes we had to stick with the session files that were hanged and others ...

Emulator_WP8_0

Well, get to work and we will prepare us to launch our brand new emulator site and view their full potential.

Emulator_WP8_1

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

But first serious test whether our system is capable of running Hyper-V and if we have the hardware required 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 a Chinese and have no clue what I'm talking the best is unburden this small Microsoft utility called Coreinfo to check all these requirements.

Just after unburden Coreinfo, run it on the command line with administrator, with the-v

  C: \> Coreinfo.exe-v 

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

Emulator_WP8_6

We must ensure that we have an asterisk in the last 2 features, capacity virtualization and SLAT Hardware presente.y to tell us that the Hypervisor is present.

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

  C: \> Coreinfo.exe 

Among all the features we search presents the NX option, which will tell us if we have the ability to DEP (Data Executivo Hardware-Based Prevention) or not, with an asterisk.

Emulator_WP8_7

After checking everything, we know we have to have an asterisk in the 3 characteristics mentioned and see Hypervisor is present, if this is not true and we can start thinking about buying another computer or simply forget to test your applications in 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 to just go to the Features section of the CPU in my BIOS and activate it:

WP_000453

Just a little something more, once checked our system and enabled in the BIOS the virtualization option, we added our Windows user to the Administrators group of Hyper-V, to spare any permission issues and others when allocating hardware the emulator. Simply go to the equipment manager and section we assign the user to the Administrators group of our Hyper-V.

Emulator_WP8_4

Emulator_WP8_3

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

Emulator_WP8_9

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

Emulator_WP8_10

Print Friendly

Share

Comments (7)

[...] Rafa Serna: The emulator SDK on Windows Phone 8 and Hyper-V. Explanation of why it is necessary to have Hyper-V to run the new emulator, as [...]

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

Hi there,

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 emulator from Microsoft itself.

My computer if supported because if it works on my PC host ... do not know how a virtual machine .... Any idea??

sorry to tell you that it has screwed up my microsoft. I've spent a week to install the emulator and I have not succeeded in the end I will be developing in android which is infinitely easier to launch an emulator.
Either this changes or not I grow a lot of the microsoft store

Excellent all Lumnia buy Nokias, Android is very, very bad in low range, good IOS overpriced and the truth is far from satisfactory, Lumnia Nokia 520 is excellent and cheap, no Android in this segment compared with the same fluency system is excellent, no it lags like Android and super cool, totally recommended.

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

[...] Called Coreinfo. You can get more information in the following article Rafa [...]

Write a comment