当前位置:网站首页>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码。
部署成功:
边栏推荐
- [EI conference] the Third International Conference on nanomaterials and nanotechnology in 2022 (nanomt 2022)
- 10、Scanner. Next() cannot read spaces /indexof -1
- Valentine's Day is nothing.
- AfxMessageBox和MessageBox的用法
- Error: plug ins declaring extensions or extension points must set the singleton directive to true
- PageObject模式解析及案例
- 392. 判断子序列
- MFC window scroll bar usage
- Usage of AfxMessageBox and MessageBox
- 165. compare version numbers
猜你喜欢

Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)

431. 将 N 叉树编码为二叉树 DFS

Implement pow (x, n) function

Go learning --- unit test subtest

JMeter学习笔记2-图形界面简单介绍

Addition without addition, subtraction, multiplication and division

bootsrap中的栅格系统

C语言的sem_t变量类型

[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API

Bilinear upsampling and f.upsample in pytorch_ bilinear
随机推荐
409. longest palindrome
206.反转链表
6. zigzag transformation
5. [WebGIS practice] software operation - service release and permission management
Analysis and case of pageobject mode
pytorch nn. AdaptiveAvgPool2d(1)
盘点华为云GaussDB(for Redis)六大秒级能力
166. fractions to decimals
[ta- frost wolf \u may- hundred people plan] 2.2 model and material space
8. 字符串转换整数 (atoi)
168. excel table column name
Redis(七)优化建议
【JPCS出版】2022年第三届控制理论与应用国际会议(ICoCTA 2022)
Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
214. 最短回文串
【TA-霜狼_may-《百人计划》】1.2.2 矩阵计算
Bilinear upsampling and f.upsample in pytorch_ bilinear
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
[TA frost wolf \u may - "hundred people plan"] 2.1 color space
187. 重复的DNA序列