Optional: Scroll down and also enable Device Portal, which lets you connect to the Windows Device Portal on your HoloLens from a web browser.
If your device is running Windows Holographic version 21H1 or newer, also enable Device discovery.
Enable Use developer features to deploy apps from Visual Studio to your HoloLens.
Select the Settings tile to launch the app in your environment.
Use the start gesture to launch the main menu.
Turn on your HoloLens and put on the device.
Start by enabling Developer Mode on your device, so Visual Studio can connect to it. (Or follow the instructions to create an app in Unity.) For HoloLens 2, use Visual Studio 2019 16.2 or newer. For HoloLens (1st gen), use Visual Studio 2017 or newer.
Create a new Universal Windows app project in Visual Studio.
See Install the Tools for installation instructions.
Use the HoloLens emulator built in to Visual Studio.
Deploy applications to your HoloLens or Windows Mixed Reality immersive headset through Visual Studio.
Whether you're using DirectX or Unity to develop your mixed reality app, Visual Studio is your go-to tool for debugging and deployment.