3

Does anyone know what are the steps necessary to run Windows Phone 8 Emulator in an Azure VM? I can't seem to add the Hyper V role which the Emulator complains that it needs. Is this even possible?

Damian
  • 2,709
  • 2
  • 29
  • 40
  • I am really interested in knowing why would you want that... :) – Liel Nov 15 '13 at 20:52
  • 1
    To answer the question of "why would you want that" - Dev&Test scenario with MSDN sub! – astaykov Nov 15 '13 at 21:07
  • As @astaykov alluded to. I'm using azure as a virtualized development environment. I tried to then run Windows Phone 8 emulator from Visual Studio, and BAM, errors. – Damian Nov 15 '13 at 21:22

1 Answers1

8

No!

Unfortunately you can't! The issue with the fact that the WP8 Emulator needs and uses Hyper-V. And in Windows Azure we are already virtualized. So simple rule:

You can't virtualize what is already virtualize

This is the same as you can't install Hyper-V role on a Windows Server which runs inside Hyper-V already. So, no solution to your question at all.

astaykov
  • 30,768
  • 3
  • 70
  • 86
  • So thats a flat no then for all WP8 development needs on an Azure VM? As the Emulator is a pretty critical part of the development experience. – IbrarMumtaz Oct 02 '14 at 11:22
  • tell me about it. I generally hate the idea that WP Emulator wants to enable Hyper-V on my machine and mess with my network adapters :S – astaykov Oct 02 '14 at 12:10
  • No, you can run a virtualized system inside of another virtualized system on any modern hypervisor and x86 CPU without any significant performance degradation. It's just nested virtualization is not enabled on Azure. – toksaitov Jan 13 '17 at 14:07
  • 1
    Acually, it is now possible to use nested VMs. https://learn.microsoft.com/en-us/azure/virtual-machines/windows/nested-virtualization – DvdZee Sep 28 '18 at 14:59
  • Indeed. Thanks for updating. – astaykov Sep 30 '18 at 18:54