Can't install Windows Phone 8.1 Emulator - visual-studio-2013

So I have a HP laptop, and as many HP users know it's a nightmare to install Hyper-V on it. But I somehow managed. Hyper-V is running on my laptop and I have all the necessary hardware requirements:
SLAT is enabled
VT-x is supported and enabled
I'm running 64 bit Windows 8.1 Professional
I'm running Visual Studio 2013 Professional Update 3
Hardware D.E.P. is enabled and supported
And yet when I run the Phone Emulator installation I get the following display:
I can't figure out what's going on or why I keep getting the error. Hyper-V is running as shown:
I've spent two days already trying to figure this out and searching on Google for a solution to this problem. Some of the things I've tried:
Flashing my BIOS
Resolving issues with the Realtek BlueTooth driver (this causes issues with Hyper-V)
Reseting my BIOS
Doing a clean install of my whole system
Installing all Windows Updates
Installing all Visual Studio updates
Enabled / Disabled D.E.P.
Any advice is appreciated. If you need the log from the emulator installation let me know and I'll post it here.
Thanks
UPDATE:
I've attempted to install winsows server standard 2012 and tried enababling hyper-v and installing visual studio and the phone emulator there, and that works and I'm able to run the emulators with no problem.
When I tried the same thing back after installing windows 8 again it installs hyper-v but fails to start windows after installing visual studio update 2 with the phone images etc. The only way I can boot back into windows is if I turn off virtualization in bios.

So it turns out that HP Pavilion laptops support all that is needed to run Hyper-V, however it looks as if HP is blocking the SLAT functionality from working properly with Hyper-V thus not allowing it to run correctly. This looks like it's blocked at the BIOS level.
Updating the BIOS doesn't solve the issue.
The way I came to this conclusion is that Windows Server running Hyper-V runs the Windows Phone emulator with no problems, and it's a Microsoft decision to not require SLAT when running Hyper-V on Windows Server while requiring it on Desktop version of Windows.
Seeing how I paid extra for a more powerful laptop to be able to use features like Hyper-V, and to have an experience such as this due to a manufacturer configuration has left a bitter taste in my mouth. Needless to say this is the LAST time I'll ever buy an HP laptop.

Related

Xamarin without windows pro

I have an HP laptop with 6 GB ram with an AMD chipset using VS 2017 community and have Xamarin installed. I am NOT using Windows Pro and I am unable to get an emulator to work properly. Before investing more money in a new computer, I am trying to make this laptop do the job. I am wondering if it is the AMD chipset or lack of Windows Pro or both that is the problem.
You do not need Hyper-V to run an Android emulator. What your hardware needs to support is at least Intel-VT or something similar. If it does not support it, use a real device to test, which is recommend any ways.
the android emulator needs Hyper-V, and that role can't be activated on some Windows 10 editions (like Home). The system requirements for Hyper-V are documented here: https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-requirements . You'll need either Professional, Education or Enterprise.

Cannot start windows phone 10 emulator

I am not able to start any of the Mobile Emulators for Windows Phone 10 (version 10.0.10240).
When I start it from the VS 2015, it gets stuck at "OS is starting". In the Hyper-V Manager, I can see the status "Starting (10%)" for the whole time. After some time, the machine is automatically restarted and it gets stuck at "Starting (10%)" again. Then it timeouts again and the emulator shows an error: "The virtual machine cannot be started because the file rdvgm.exe that is required to start the RemoteFX Manager process does not exist". That is weird, because I do have the rdvgm.exe in the C:\Windows\System32.
I have seen that there are some questions with the same error, but they are resolved by fixing the network switch or by killing devenv.exe after it shows "OS is starting". I have tried both, but it did not help. The network switch issue is different (I have seen it on a different computer - in that case the emulator starts correctly, but VS is not able to connect to it). I am stuck at "Starting (10%)".
What can I try to get it working? Windows Phone 8 emulator is working without any issue.
Thanks
The problem was that Hyper-V detected a graphic card which is able to work with RemoteFX (integrated Intel GPU) but the dedicated one (AMD Radeon) was not supported. I was not able to convince Hyper-V to ignore the dedicated one. When I disabled the RemoteFX support for Hyper-V (unchecked it in the Intel GPU setting in the Hyper-V configuration), it started working.
I found this Microsoft technical support desk yesterday. Its an on line chat with their technical people. I don't know if it covers all MS products. I was asking them about Outlook. Could be worth a try. I found it a touch slow at times, but ...
https://www.awasa.microsoft.com/en-GB/consultation/index?id=914801398064643&skuId=0
Hyper-V has problems enabling RemoteFX with some dual gpu graphics cards. Disabling one of the graphics cards in device manager solved the problem for me:
Disable one of the integrated graphics cards in device manager. I disabled Intel (R) HD Graphics 4600 and left NVIDIA GeForce GT 740M enabled.
Reboot Windows.
Delete the existing mobile phone virtual machines in Hyper-V Manager.
Start Visual Studio and deploy your app again.
I'll be honest, with much distress, I performed a complete factory reset. Reinstalled only Visual Studio 2015 Community edition (only with the tools I needed and not any other emulators such as Android), and it worked after setting up Hyper V as instructed via documentation on dev.windows.com

Can I bypass hyper-v with an earlier version of visual studio

I installed visual studio express 2013 on my windows 8.1 computer. Everything was fine until I learned that I needed 8.1 pro to have hyper-v to use a phone emulator to run my program. (I think)
Rather than downloading a new operating system, would I be able to use an earlier version of visual studio? If so, which one...
I am very new to phone development and (considering I can't get past the installation stage) would appreciate the simplest explanation out there.
Thanks!
Sadly, no. Hyper-V is a requirement for WinPhone emulation, and it requires Pro, no matter what version of VisualStudio
Note: To use the Windows Phone 8 emulator your PC must have Windows 8
Pro or greater and a processor that supports Second Level Address
Translation (SLAT).
https://www.dreamspark.com/student/Windows-Phone-8-App-Development.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
However,you can easily upgrade to Pro, see http://windows.microsoft.com/en-us/windows-8/feature-packs You just buy an upgrade key and enter it, you don't have to go through the whole install a new OS process

Windows Phone 8 SDK Xde emulator runs really slow and Crashes

when you try and run the emulator it will load, then say windows phone OS is starting up, then sit there about 3-5 mins and fail.
Im Running Visual Studio Express 2012 for WP on Lenovo N586 64-bit I've upgraded to windows 8 pro
lemme run down the list of what Ive tried...all are listed here
yes hardware supports hyper-v virtualiztion amd a6-4400m
I'm slat Capable theres a program you can use to test this.
Hyper-v is Installed and running fine
running windows 8 pro I had to upgrade.
Im 64 bit
Im not running any other virtualization software
Ive run XDEcleanup.exe and ran VS2012 as administrator no luck
no im not running on a virtual machine.
and just for fun I've uninstalled the sdk and re installed it
any idea?
For what you're describing, its looks like the VS is trying to create the virtual switch, but failed. To resolve this, go to Hyper-V's Virtual Switch Manager, on the left side of the window, and be sure that you have one virtual switch for every network card you have, usually you must have 3: 1 for the wireless, 1 for the LAN and 1 for internal. If your don't have the wireless or the LAN, create them.

Windows phone 7 takes forever to deploy

I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
The emulator isn't supported running inside or side by side other VM's at this stage. It is implemented as a VM itself. VM's running on windows platforms will be detected by the emulator startup and a specific error message provided. I've noticed several people having the same issue from Parallels on Mac ... presumably the VM detection doesn't work over there to stop the attempt.
System requirements documented here and here for your reference.
Similar to how we have to run a Mac to develop for iPhone without hassles, you'll need to run a PC to develop for Windows Phone 7 - at least for now.
You may also find your issue with the WIndows Phone Emulator is because the Emulator actually the real phone ROM running in a Virtual Machine.
Since your situation is a VM (Windows 7 on Parellels on Mac) this may explain your performance issue. Developers using VMWare have had similar issues plus Virtual PC / Hyper-V does not support Windows Phone 7 at all.
Running virtual machines on virtual machines is a massive performance hit, your only solution may be a cheap PC installation of Windows Phone 7 tools etc on compatible hardware ie Graphics Card / with WDDM 1.1 compatible drivers etc.
For my WP8 deployment, I notice that disconnecting my MacBook Air from the power source will slow the deployment down considerably (so will the debugging and tracing).
Simply plug the laptop back to the power source and everything will become fast again.
Don't kill the emulator between debug sessions. There is no need.
Also - Visual Studio 2010 Express For Windows Phone, which is installed with the tools, is much more responsive as it has less features running.
So if speed is really an issue, that may be an option.

Resources