Visual Studio 2013 Windows Phone模拟器未部署 [英] Visual Studio 2013 Windows Phone Emulator not deploying
问题描述
我正在使用VS 2013 Express,并且我有一个Windows Phone 8简单应用程序. 当我开始使用任何仿真器调试应用程序时,它都无法将XAP部署到仿真器中. 10分钟后,错误消息显示为",其中有部署错误.继续吗?"
I am using VS 2013 express and i have a Windows Phone 8 simple app. When i start debugging the App using any Emulator it fails to deploy the XAP into the emulator. AFter 10 minutes an error message shows up "There were depoyment errors. Continue?"
这是调试应用程序时的输出:
This is the output while debugging the app:
添加WMAppManifest.xml 1> Xap包装成功完成
Adding WMAppManifest.xml 1> Xap packaging completed successfully
开始部署:项目:MyProject,配置:调试任何 中央处理器 部署中 C:\ Source \ WidowsPhone8 \ MyProject.App \ Bin \ Debug \ MyProject_Debug_AnyCPU.xap ...
Deploy started: Project: MyProject, Configuration: Debug Any CPU Deploying C:\Source\WidowsPhone8\MyProject.App\Bin\Debug\MyProject_Debug_AnyCPU.xap...
连接到Emulator 8.1 WVGA 4英寸512MB ...
Connecting to Emulator 8.1 WVGA 4 inch 512MB...
仿真器启动,但卡在"Windows OS正在启动."
重要:如果我打开HyperV管理器并手动启动仿真器.它工作得很好,我可以毫无问题地使用它.问题是当我尝试从Visual Studio启动它时.
Important: If i open the HyperV manager and manually start the Emulator. It works perfectly fine, i can use it without problem. The problem is when i try to launch it from visual studio.
我正在使用Symantec Endpoint Protection作为我的防病毒软件.但是我无法删除它,它受密码保护.可能是防病毒软件阻止了部署步骤"吗?
I am using Symantec Endpoint protection as my antivirus. But i can't remove it, it is password protected. Could it be the antivirus blocking the "Deployment step"?.
推荐答案
我卸载了SEP,模拟器开始正常运行. SEP防火墙设置似乎阻止了从Visual Studio到Hyper-V计算机的通信.
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.
这篇关于Visual Studio 2013 Windows Phone模拟器未部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!