none
Visual Studio 2015 - nested Virtualization?

    Question

  • For a Training Environment I need to set up several student desktops with Visual Studio 2015. Students should be able to create and compile Universal Windows and Android apps and use device emulators.

    Usually we create HyperV-VMs for that Kind of purpose, just like with Microsoft Official Curriculum (MOC) courses. However, Visual Studio uses some HyperV virtual machines in order to emulate devives, though. Thus a first attempt failed to start any device Emulators from inside a Windows 10 ltsb VM with Visual Studio 2015.

    As reported by Sarah Cooley nesting virtual environments is no longer entirely impossible:
    https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/esting

    Should we rather keep working on bare metal in that case? Could anyone report this has bee working, before or tell some other experiences?


    NLA

    Wednesday, April 20, 2016 10:04 AM

Answers

  • Hi NLA,

    According to the system requirement for Android emulator, the basic requirement is need the Hyper-V. And as far as I know, the HyperV-VM has used the Hyper and the VM doesn't have the Hyper-V.

    Our work machine is a Hyper-V VM and we could not run the device emulator on our work machine. If we want to test the app use device emulator, we need to change another computer which is not a VM to open the Hyper-V and run the app.

    But we can run the Universal Windows app with Local Machine debug on a VM, which doesn't need the device emulator.

    Best Regards,
    Weiwei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.


    Thursday, April 21, 2016 8:06 AM
    Moderator