Building and deploying MRTK
To run an app on device as a standalone app (for HoloLens, Android, iOS, etc.), the build and deploy step needs to be executed in the unity project. Building and deploying an app that uses MRTK is just like building and deploying any other Unity app. There are no MRTK-specific instructions. Read below for detailed steps on how to build and deploy a Unity app for HoloLens. Learn more about building for other platforms at Publishing Builds.
Building and deploying MRTK to HoloLens 1 and HoloLens 2 (UWP)
Instructions on how to build and deploy for Hololens 1 and Hololens 2 (UWP) can be found at building your application to device .
Tip: When building for WMR, HoloLens 1, or HoloLens 2, it is recommended that the build settings "Target SDK Version" and "Minimum Platform Version" look like they do in the picture below:
The other settings can be different (for example, Build Configuration/Architecture/Build Type and others can always be changed inside the Visual Studio solution).
Make sure that the "Target SDK Version" dropdown includes the option "10.0.18362.0" - if this is missing, the latest Windows SDK needs to be installed.