Richard Logwood
Richard Logwood

Reputation: 3273

Can VS2015 running on hyper-v VM connect to VS Android Emulator on a different VM?

I'm developing Xamarin Android apps on Visual Studio 2015 (VS2015 Update 1) on Windows 10 Pro (latest build). I've recently installed VS21015 on a hyper-v VM on my PC and want to connect it to the Visual Studio Android Emulator running on a different hyper-v VM on the same PC. Is this possible?

I installed both VS Android Emulator and VS2015 using the standard installs and both work fine. However, I've not yet figured out a way to get VS2015 on VM#1 connected to the VS Android Emulator on VM#2.

Initially I tried installing the VS Android Emulator on the same VM as VS2015, however, nested VMs are not yet supported on hyper-v.

Thank You!

Upvotes: 1

Views: 1178

Answers (1)

John Engel-Kemnetz
John Engel-Kemnetz

Reputation: 2565

Because the VS Emulator for Android is also a Hyper-V VM, you won't be able to run it in a Hyper-V VM. If you run Visual Studio in a Hyper-V VM and run the emulator on the host machine for that VM, you'll be able to manually connect to the emulator via adb connect

Upvotes: 1

Related Questions