Posted on: 30-10-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 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 better performance, on the other hand throwing various emulators while a rather more easily than before homework is done, the management of images from 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 ...
Well, get to work and we will prepare us to launch our brand new site emulator and see their potential.
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.
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.
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 our applications on the emulator Windows Phone 8.
If we are lucky to have all these requirements, we simply go to the BIOS of our system and enable 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:
Just a little something more, once checked our system and enabled in the BIOS the virtualization option, we must add our windows user to administrators group 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.
Well, ready, once completed these steps, the next time you run the debug on the emulator, we show reporting run with elevated privileges, if not run Visual Studio with administrator permissions.
Here our brand new emulator ready to start testing our applications for Windows Phone 8.