6

I'm trying to check out the new MRTK (V2) but I had been having troubles making the build, first on Unity which make me download the Windows SDK 18362, now I'm trying to continue the build on Visual Studio 2017 for testing but it brings me this error:

To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17134.80. Please update your OS, or change your deployment target to a device with the appropriate version.

My Windows 10 OS is 10.0.18632.30 but my HoloLens its on 10.0.17763.380 and its seems it won't update to a higher version even with Windows Insider enabled.

I expect to test the premade demos of MRTK(V2) on my HoloLens 1. The build on Visual Studio wont pass from the error of incompatible version.

Hectorales
  • 85
  • 1
  • 9

2 Answers2

10

To fix this error you need to update your Build Settings so that the Minimum SDK version is at or lower than your HoloLens OS version. I usually use 10.0.10240.0. You still need to make sure that your target SDK version is “latest installed”. Try doing the following steps:

  1. Delete your generated UWP project.
  2. Open the build settings window in Unity.
  3. Make sure that Minimum SDK is is 10.0.10240.0
  4. Make sure that Target SDK version is “latest installed”
  5. Re-generate the solution and deploy to HoloLens.
Julia Schwarz
  • 2,610
  • 1
  • 19
  • 25
  • 4
    I am running on Windows 10 Insider preview with OS build : 18362.30 Version : 1903 and Also double checked with build setting Minimum SDK is 10.0.10240.0 Target SDK version is “Latest installed”. But still I am facing error at the time of build Error : Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(418,73): error CS0246: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?) – Krth Apr 16 '19 at 13:17
  • Great this works! No more errors before build, now though it seems the debugger gives me another error: "DEP6953: Failed to launch remote debugger with the following error: 'Command failed: 0x80070490'. " – Hectorales Apr 16 '19 at 15:10
  • Did exactly this and still get `DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17763.806. Please update your OS, or change your deployment target to a device with the appropriate version.` – derHugo Oct 17 '19 at 16:16
  • It sounds like your HoloLens version is 10.0.17763, have you tried updating your HoloLens to a newer version? Go to Settings → Update → check for updates – Julia Schwarz Oct 24 '19 at 20:24
1

Emphasize Bullet 3# in Julia answer. Minimum SDK must be 10.0.10240.0 otherwise you will get a fatal error on the first app run.

Ariel
  • 41
  • 1
  • 2
  • 8