Error building hololens app : GestureRecognizer could not be found

Hello,

I’m following the tutorial here (HoloLens (1st gen) Basics 101E - Complete project with emulator - Mixed Reality | Microsoft Learn) to build a hololens app, but whenever I try and build the project I get the following errors:

Assets\Holograms\Support\Fitbox\Fitbox.cs(43,26): error CS0246: The type or namespace name 'GestureRecognizer' could not be found (are you missing a using directive or an assembly reference?)
Error building Player because scripts had compiler errors
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) 
[0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions 
defaultBuildOptions) [0x00050] in 
C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 
UnityEditor.HostView:OnGUI()

I’m using Unity 2017.1. Any possible solutions? I’ve tried seeing why it can’t find the namespace but can’t find a solution yet. Any help will be really appreciated.

Thanks,

Andrew Solis

i’m having the same issue…

I followed the post here and downloading the correct Unity version seemed to resolve my issue: