I recently bought a new laptop with the aim of being able to move from developing for Windows Phone 7 to Windows Phone 8 , taking into account all the required characteristics from hardware virtualization to Hyper-V.

I install all needed, from Visual Studio 2012 Update 4 to Windows Phone SDK 8 and active Hyper-V but at the time of deployment of a trivial "empty" app to the emulator just to be sure everything works, that's ... nothing works !

The error occurs in deployment time and without any kind of description but with the code 0x80131500 !

Start my wanderings on the net and it seems that the error is related to Windows 8.1 Preview but I have a fabulous Windows 8.1 Professional !

Talking about the problem with Clement Giorio, another DotNetCampania member, I realize that the WP8 emulator does not start and then we plan to create a virtual machine to see if Hyper-V isn’t doing its duty.

The upshot is that I can not even create a simple virtual machine in Hyper -V !

Continuing to investigate the problem, here we come to the sequence of operations that allows me to solve the problem :

 

  • Uninstall Hyper-V
  • Reboot
  • Command line : dism.exe /Online /Cleanup-image /Scanhealth
  • Command line : dism.exe /Online /Cleanup-image /Restorehealth
  • Reboot
  • Install Hyper-V 

Perhaps due to this blog post, many people will avoid losing the same hours that I lost !

Winking smile