当前位置:网站首页>HoloLens2开发环境搭建及部署app
HoloLens2开发环境搭建及部署app
2022-07-01 03:38:00 【itsxwz】
官方文档
- 部署:https://docs.microsoft.com/zh-cn/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2
- 开发:https://docs.microsoft.com/zh-cn/windows/mixed-reality/
- 示例:https://docs.microsoft.com/zh-CN/windows/mixed-reality/mrtk-unity/mrtk2/?view=mrtkunity-2022-05
一、开发环境搭建
安装Unity,必须选择UWP平台。
安装Visual Studio,必须选择通用Windows平台开发。
Unity中打包设置。
下载Target SDK Version:https://developer.microsoft.com/zh-cn/windows/downloads/windows-sdk/
或者通过VS安装。

二、部署App
属性页设置常规项。
ps:如果没有安装平台工具集,用vs打开生成的uwp项目.sln会提示安装。
通过wifi部署。
计算机名写HoloLens2设备的ip地址,具体通过设备查看。开发机器与部署设备不需要连接同一wifi,只要同一局域网即可。
通过usb部署。
三、报错
错误 DEP6957: 未能使用“通用身份验证”连接到设备 (异常来自 HRESULT:0x80072746) [0x80072746]
设备和开发机器都要打开开发人员/usb选项,然后通过设备进行配对,开发机器vs需要填写设备现实的6位PIN码。
部署成功:
边栏推荐
- [shortcut key]
- Go learning --- unit test subtest
- 5. [WebGIS practice] software operation - service release and permission management
- 165. compare version numbers
- 205. isomorphic string
- MFC窗口滚动条用法
- 283.移动零
- Explain spark operation mode in detail (local+standalone+yarn)
- Future of NTF and trends in 2022
- The programmer's girlfriend gave me a fatigue driving test
猜你喜欢

Explain spark operation mode in detail (local+standalone+yarn)

Idea plug-in backup table

Usage of AfxMessageBox and MessageBox

How keil displays Chinese annotations (simple with pictures)

MFC window scroll bar usage

AfxMessageBox和MessageBox的用法

idea插件备份表

Unexpected token o in JSON at position 1, JSON parsing problem
![[TA frost wolf \u may- hundred people plan] 1.2.1 vector basis](/img/94/99090ea91082a385968e071ef3766c.png)
[TA frost wolf \u may- hundred people plan] 1.2.1 vector basis

Complete knapsack problem
随机推荐
Redis(七)优化建议
【TA-霜狼_may-《百人计划》】1.2.2 矩阵计算
Analysis and case of pageobject mode
torch. histc
What happens when a function is called before it is declared in C?
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
10. regular expression matching
使用selenium自动化测试工具爬取高考相关院校专业招生分数线及排名情况
盘点华为云GaussDB(for Redis)六大秒级能力
【TA-霜狼_may-《百人计划》】1.3纹理的秘密
Download and installation configuration of cygwin
431. encode n-ary tree as binary tree DFS
208. implement trie (prefix tree)
AfxMessageBox和MessageBox的用法
The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)
Develop industrial Internet with the technical advantages of small programs
Review column - message queue
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
【TA-霜狼_may-《百人计划》】1.2.1 向量基础
409. 最长回文串