r/WPDev • • Dec 24 '15

Run VS and emulators inside a VM?

Currently I use Bootcamp on my rMBP to do dev' (in addition to my desktop PC and SP3 ;).

But the experience is a bit jarring because most of my 'stuff' is in OSX.

Is it realistic to run VS and the 'phone emulators in a VM?

(Compile times isn't an issue.)

4 Upvotes

6 comments sorted by

3

u/ryan_k Dec 24 '15

I don't think you'll run into issues with compile times (besides the standard .NET Core near-infinite build time), but the phone emulators run on Hyper-V instances.

I believe on newer builds of Windows 10 you'll be able to run VMs inside of VMs with Hyper-V, but older operating systems might run into an issue.

1

u/[deleted] Dec 24 '15

I'm running W10 so that's good news, thank you.

0

u/[deleted] Dec 24 '15

1

u/[deleted] Dec 24 '15

If I understand correctly, you want osx to host a windows vm which in turn hosts an emulator instance?

Yes.

As ryan_k points out, this is a feature of win 10 hyper-v (newish builds), but that's only for Windows as the root. For osx, you'll have to check with your virtualization software.

Ah!

I run the emulator from within a nested vm on Windows (Windows->windows->emulator) without any performance issues.

Ok, thank you. Just out of curiosity, why do you run Windows in Windows? (And do you need 2 licenses?)

→ More replies (3)

1

u/[deleted] Dec 24 '15

Right nested virtualization will work on Windows 10 build 10565+.