HoloLens 2 generation installation process

First of all, the C drive needs to have enough memory. The one I configured takes up 20G of memory. (Maybe you won’t use that much, or you may need to reallocate the memory and do your own research!)

The computer is required to be Win10, not N version, not Home version!

Turn on developer mode: Windows menu-Settings-Developer options-check Developer mode

During the update process, the computer encountered an update failure and prompted a solution to the error code 0x800F0805.

Specific steps are as follows:

具体步骤如下:

1.在管理员命令提示符下键入以下命令:

Dism /Online /Cleanup-Image /ScanHealth
(等待进度完成100%提示操作成功完成,继续下面的步骤。如果卡在了进度*%请点击Enter键以继续)

2.这条命令将扫描全部系统文件并和官方系统文件对比,扫描计算机中的不一致情况。

Dism /Online /Cleanup-Image /CheckHealth

3.这条命令必须在前一条命令执行完以后,发现系统文件有损坏时使用。

DISM /Online /Cleanup-image /RestoreHealth

4.这条命令是把那些不同的系统文件还原成官方系统源文件。

5.完成后重启,再键入以下命令:sfc /SCANNOW。

 

The source file cannot be found, ignore it for now and restart the machine!

 

 

 

This Unity is installed on the C drive to avoid path and library problems.

 

2. Open the settings panel, select vs2019, right-click and select Change.

4. Open the following interface and select Modify

5. Installation platform and configuration

Note: For HoloLens 2 generation development, the SDK must be (10.0.18000.0)) or above

 

6. Then enable the "Hyper-V" function,

Select "Programs" -> "Programs and Features" -> "Turn Windows features on or off" in the Control Panel and make sure "Hyper-V" is selected so that the emulator can be installed successfully!

打开 Intel(R)VirTualization Technology:https://blog.csdn.net/qq_18427785/article/details/107386910

Note: Different computers may have different locations of Intel(R) VirTualization Technology, please search it yourself!

 

7. Download the emulator: https://docs.microsoft.com/zh-cn/windows/mixed-reality/using-the-hololens-emulator

If you encounter this error during installation, check:

1. Check whether the installation is a 2nd generation simulator. If the installation is correct, please look down!

2. Check the log. If the problem still cannot be solved, it is recommended to reinstall and configure Vs2019 and just uninstall it. It doesn’t matter whether the uninstallation is clean or not! At least I do!

Solution URL: https://kb.acronis.com/content/59045

The successful installation is as follows:

 

HoloLens2 introductory tutorial: https://docs.microsoft.com/zh-cn/windows/mixed-reality/mr-learning-base-02

Problems that occurred during the final Build project:

IOException: Win32 IO returned 234. Path: C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\2.0.0.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd" or "Temp\StagingArea\Data\Managed\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite)

 

Solution: https://blog.csdn.net/weixin_43384713/article/details/99625805

Delete the following files:

C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\2.0.0.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd

Guess you like

Origin blog.csdn.net/qq_18427785/article/details/107405955