Building and running

Let's now build and run the app on the HoloLens.

Press Build to begin building. We recommend you create a new folder in your project root named Build and specify the file or subfolder name under that, as needed. This will generate a Visual Studio project.

Open the project in Visual Studio (double-click the .sln file in the build):

  1. Set the Solution Configuration to Release, Platform to x86 and Target to emulator or remote device (as explained in Chapter 3, Building Your App).
  2. Set the Device to your target device (for example, HoloLens Emulator or physical device).

Please refer to the HoloLens section of Chapter 3, Building Your App, for information on using Unity Editor with a physical HoloLens device versus using

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.