2016-08-16 161 views
3

我想从单位运行一个示例项目到vs2015。还有,当我在Hololens模拟器开始调试,我得到这个错误:Hololens仿真器

Unable to activate Windows Store app 'HoloLensSample_p.......App'.
The HoloLensSample.exe process started, but the activation request
failed with error 'Windows was unable to communicate with the target
application. this usually indicates that the target application's
process aborted. More information may be available in the Debug pane
of the Output window'

+0

你的问题是什么? – Cabrra

+0

感谢您的回复,如何在hololens模拟器中运行应用程序?我跟着这个链接[https://developer.microsoft.com/en-us/windows/holographic/holograms_101e]来运行应用程序,而这样做,我得到这些类型的错误。请帮我解决问题。 – Vivek

+0

我有这个问题,并且我尝试了一种真正的重启所有方法,现在它工作得很好。 –

回答

1

本文告诉您如何设置使用教程这应该给你你需要调试自己的项目信息调试。

按照这些指示,

1) “在Visual Studio中,右键在Solution Explorer中点击Package.appxmanifest并选择查看代码。

2)找到这一行指定TargetDeviceFamily并更改名称=” Windows.Universal“更改为Name =”Windows.Holographic“。在同一行上,将MaxVersionTested =”10.0.10240.0“更改为MaxVersionTested =”10.0.10586.0“保存Package.appxmanifest。

3)在Visual Studio中,转至Project->YourProjectName属性,单击边栏上的调试。

4)检查,指出箱“卸载,然后重新安装我的包。有关应用程序状态的所有信息都被删除”

这应该允许您在调试模式下运行,但就像我在说我的评论,最新版本的Unity for Hololens现在已经内置了调试功能。