8
votes

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.

5
how much free RAM do you have?magicandre1981
I have 8GB installed, free is about 4GB when using Visual StudioCCamilo
there is also a file missing: rdvgm.exe run sfc or DISM to check for corrupted/Missing files.magicandre1981
Since it looks like an actual file is missing a Visual Studio repair might be worth an attempt?ILOABN

5 Answers

6
votes

I was having a similar issue however I'm using VMWare Fusion to run Windows 8.1. The steps in this article solved my problem. https://blogs.endjin.com/2013/06/running-the-windows-phone-emulator-in-vmware-fusion/


  1. Stop the virtual machine that you are running the emulator on.
  2. Open the Virtual Machine Library L (WindowsVirtual Machine Library)
  3. Select the VM in the list and go to SettingsProcessors & MemoryAdvanced Options

    Tick the Enable hypervisor applications in this virtual machine checkbox to enable nested virtualization. This will add vhv.enable = "TRUE" in the VM configuration file (more on that below).

  4. Go back to the VMs list and right-click on the VM and select Show in Finder.
  5. In the Finder window, right-click and Show Package Contents.
  6. Once the content (list of files and folders) is displayed, find the VMware virtual machine configuration file – the file with the .vmx extension.
  7. Open this file in TextEdit and add this line at the end: hypervisor.cpuid.v0 = "FALSE"
  8. Save and restart the VM.
3
votes

I had this problem trying to run HoloLens emulator. I had to go into Hyper V manager, and go into Hyper-V settings. Select the Physical GPUs and Uncheck the box "Use this GPU with RemoteFX" .

The rdvgm.exe pertains to this. Turning that option off resolved my problem.

1
votes

Resolved : I too faced same issue. In my case the problem was I have not enabled the developer mode. After enabling it perfectly worked fine.

0
votes

Do you see your "Virtual Switch" information under: Control Panel\Network and Internet\Network Connections? If not, you can try to recreate your "Windows Phone Emulator Internal Switch" again from Hyper-V to see if that resolves your issue. Try these steps below:

1.) Open Hyper-V

2.) Shutdown any existing configured Phone emulators.

3.) Click on "Virtual Switch Manager"

4.) Click on the "Windows Phone Emulator Internal Switch"

5.) Remember what the settings are displayed there (because you will delete it and recreate it)

6.) Delete the existing "Windows Phone Emulator Internal Switch" by clicking "Remove"

7.) Click "Apply" and "OK"

8.) Re-create the "Windows Phone Emulator Internal Switch" by clicking the "New virtual network switch" and use the same settings you remembered in Step 5.

9.) Then try to F5 from Visual Studio - which should configure a new emulator on the right virtual switch.

10.) Now the error will be solved. if not in hyper v start the emulator of windows phone -> then click Connect (Now the emulator start's from hyper v)

11.) Then try to F5 from Visual Studio - which should start the emulator (took some time to start up in my case)

0
votes

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.