Posted on: 10/30/2012 | By: Technology | In: Windows Phone 8
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 that 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 ...
Well, get to work and we will prepare to launch our brand new site emulator and see its potential.
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 test whether our system is capable of running Hyper-V and if we 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.
We must make sure we have an asterisk in the last 2 features hardware virtualization capabilities and SLAT presente.y to tell us that the hypervisor is present.
Finally we have to do another test, in this case running Coreinfo without any input parameter.
C: \> Coreinfo.exe
Among all the features that presents we must seek the NX option, which will tell us whether we have the ability to DEP (Hardware-based Data Executivo Prevention) or not, with an asterisk.
Once checked everything, we know we have to have an asterisk in the 3 characteristics mentioned and see Hypervisor present, if this is not true and can start thinking about buying another computer or simply forget to try our application 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 go just to the features section of the CPU in my BIOS and activate it:
Just a little something more, once verified our 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.
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.
Here our brand new emulator ready to begin testing our applications to Windows Phone 8.