不能部署到HoloLens模拟器 [英] Can't deploy to HoloLens emulator

查看:977
本文介绍了不能部署到HoloLens模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚创建默认项目的安装HoloLens模拟器,然后按F5全息的DirectX11应用程序(通用的Windows)在VS2015更新2。

Just created default project Holographic DirectX11 App (Universal Windows) in VS2015 Update 2 with HoloLens emulator installed and hit F5.

HoloLens模拟器开始加载,但在某些时候

HoloLens emulator starts loading, but at some point

的仿真器是无法连接到该设备的操作系统:模拟器无法确定主机IP地址,这是用来与客户虚拟机进行通信。某些功能可能被禁用。

我可以从Hyper-V管理启动仿真器连接到它,但屏幕不响应鼠标点击和坚持与开始菜单(在仿真器窗口相同的图片,如果我从VS2015开始,但与此在一开始的错误消息):

I can start emulator from Hyper-V Manager and connect to it, but the screen is not responding to mouse clicks and stuck with start menu (same picture in emulator window if I start it from VS2015, but with this error message at the beginning):

< IMG SRC =http://i.stack.imgur.com/1vpjJ.pngALT =在这里输入的形象描述>

有什么想法?

推荐答案

好吧,一些标准的清理做的事:

Ok, some "standard" clean up did the thing:


  1. 开启的Hyper-V管理器

  2. 删除所有的的Windows Phone 的和的 HoloLens 的虚拟机(它们会在以后重新创建)

  3. 点击上的虚拟交换机管理器... 操作的面板链接在右边,删除所有虚拟交换机

  4. (我做到了以防万一,可能不需要)重新启动

  5. 打开任何HoloLens项目在 VS2015 并点击 F5 - 这应该重新创建新的虚拟机HoloLens并成功地部署应用程序

  1. Open Hyper-V Manager
  2. Remove all Windows Phone and HoloLens virtual machines (they will be recreated later)
  3. Click on Virtual Switch Manager... link in the Actions panel on the right and remove all virtual switches
  4. Reboot (I did it "just in case", may not be required)
  5. Open any HoloLens project in VS2015 and hit F5 - this should re-created new virtual machine for HoloLens and successfully deploy the app.

似乎有在未来这样的问题多一点合适的地方 - 官方的问题和解答论坛。

* Update *

It seems there is a bit more appropriate place for questions like this in the future - official Questions and Answers forum.

这可能是相关的,所以我就离开的此链接这里(它确实帮助我与过去的Windows Phone模拟器非常类似的问题)。

It may be related, so I'll just leave this link here (It did help me with very similar problem with Windows Phone emulator in the past).

从上面的链接引用的重要组成部分:

Quoting the important part from the link above:

下面是我的解决方案它为我工作很好:

Here is my solution and it work well for me:


  1. 打开Hyper-v作为管理员,打开虚拟交换机管理器,创建一个新的虚拟交换机内部再次,使用默认的名称或任何你想要的名称,并保存

  1. open hyper-v as admin, open virtual switch manager, create a new virtual switch with "Internal", use the default name or any name you want, and save

开放虚拟交换机管理器,你会看到的Windows Phone模拟器内部开关,复制名为的Windows Phone模拟器内部开关和该开关切换到另一个名字(你想做的,我只需要添加 1 下面的字符串,如:的Windows Phone模拟器内部开关1 ),并打开步骤1中新添加的开关,将其重命名为的Windows Phone仿真器内部开关(不改变或丢失任何字符串),保存

open virtual switch manager again, and you will see the "Windows Phone Emulator Internal Switch", copy the name "Windows Phone Emulator Internal Switch" and change this switch to another name(whatever you want, I just add "1" to the following string like: Windows Phone Emulator Internal Switch 1), and open your new added switch in the step 1, rename it to "Windows Phone Emulator Internal Switch" (don't change or missing any string), save

开放虚拟交换机经理再次,现在你可以删除老的Windows Phone模拟器内部开关1 开关

open virtual switch manager again, and now you can delete the old "Windows Phone Emulator Internal Switch 1" switch

开放式系统的网络设置,适配器设置,你会看到 vEthernet(的Windows Phone模拟器内部开关)现在是启用和旧的 vEthernet(新虚拟交换机)已禁用,将不会被使用。

open system network settings, adapter settings, you will see "vEthernet (Windows Phone Emulator Internal Switch)" is enable now, and the old one "vEthernet (New Virtual Switch)" is disabled which will not be used.

在VS,只要运行并部署到仿真器,有乐趣。

in VS, just run and deploy to a emulator, have fun.

希望这有助于。

这篇关于不能部署到HoloLens模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆