Visual Studio 2013 Windows Phone Emulator not deploying

安稳与你 提交于 2019-11-30 20:08:08
Saykor

If you have Symantec Endpoint protection then do this steps:

  1. open SEP
  2. in Status -> Network Threat Protection select from Options Configure Firewall Rules.
  3. Click Add button
  4. Port and Protocols tab select from Protocols UDP
  5. Application tab browse to c:\program files (x86)\microsoft xde\8.1\xde.exe to allow the emulator
  6. click Ok

You need to repeat points 3 - 6 but more 2 times. Add Visual Studio c:\program files (x86)\microsoft visual studio [xxx]\common7\ide\devenv.exe Add Host Process c:\windows\system32\svchost.exe

  1. click Ok button to close Firewall Riles.
  2. Run your project. If the emulator not start to work restart your pc to be sure the rules is applied.

This allow on the emulator to get internet. I suppose the emulator not want to start because try to connect to internet but can't. In Control Panel\Network and Internet\Network Connections you have "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)" When double click on it you need to see Received traffic. Then emulator will work. Of course if we assume you not have other problems with the system. This was solution for me.

Open up Hyper-V manager and delete all the Emulator Virtual Machine. In your case Emulator 8.1 WVGA 4 inch 512MB. Then delete the all the virtual Switches created as well. Then re boot the system.

Run Visual Studio and the run the emulator from there. See if this works. If not, Try uninstalling and re installing VS 2013.

Shawn Eary

Some client side firewalls may interfere with Visual Studio's ability to correctly launch the emulator. See
the windows phone emulator wasn't able to connect to the windows phone operating system
where various users disabled their firewalls to solve similar problems and
http://social.msdn.microsoft.com/Forums/en-US/d12d3d34-0a6c-4e17-9b5b-4c2f89f94d22/firewall-rule-to-allow-connection-to-windows-phone-emulator?forum=wptools
where Chetan Savade and Curtis Trobaugh suggest adding Symantec Endpoint Protection rules to open up UDP traffic.

If you can get your administrator to open up the correct UDP Ports on your Development Box, this problem may go away.

Sharavnan_Kv

Go to firewall and click:

  1. Allow app or feature through windows firewall
  2. Click change setting
  3. Un-check Hyper-v and Hyper-V Management Clients

Then run the emulator.

I uninstalled the SEP and the emulator started working just fine. It seems to be that SEP firewall settings blocks the communication from Visual Studio to Hyper-V machines.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!