Search code examples
windows-10windows-10-mobile

Visual Studio 2015: Emulator is unable to verify that the virtual machine is running


I have the following problem, hopefully somebody has a solution. Previously I had Windows 8.1 and Visual Studio 2013. I upgraded to Windows 10. I installed Visual Studio 2015 Enterprise. I created a new solution, with only 1 project for a blank Universal Windows app. I am using C#.

When tring to run my proyect by selecting any of the "Mobile Emulators 10...." I get the following error: enter image description here However, if I select "Simulator" it works. Also, If I open a solution for Windows Phone 8.1 and I run using "Emulator 8.1" it works.

Any help is welcome. Thank you.


Solution

  • In case somebody is interested, I found a solution that works for me here:

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/823ce958-5287-40f9-bfc8-8fb6db0d4f95/visual-studio-2015-windows-mobile-10-emulator-app-deployment-failed-error?forum=visualstudiogeneral

    Basically the is what people should do:

    • 1) Start the app deployment process in VS 2015 by selecting an emulator and then pressing F5
    • 2) Wait till the emulator starts and shows "OS is starting"
    • 3) Then, go to the task manager, go to the process of VS 2015 (devenv.exe) and kill it

    Result: The emulator image is being built and the app deployment process cannot fail as VS is not running anymore.

    As soon as the emulator is fully built and you can see Windows Mobile 10 in action, close the emulator and start the app deployment process through VS 2015 again. This time, the app deployment process will succeed.