DirectoryNotFoundException on building first Hololens App

1k views Asked by At

I'm new and try to do the 100 Tutorial.

I keep getting this Error on building with unity:

DirectoryNotFoundException: Could not find a part of the path "C:\Program Files (x86)\Windows Kits\10\Platforms\UAP\10.0.14393.0\Platform.xml"

When i look up the path, there is no "Platform" directory in 10 (maybe because of the SDK change from 10.0.10586 to 10.0.14393).

I've already checked the answers of similar topics for example this

Compared to that, i've set up everything right: Visual Studio Setup

Any clues?

1

There are 1 answers

5
Programmer On BEST ANSWER

This is a result of a bad installation.

I came across the-same exact problem few months ago when I when I wanted to a simple Windows 10 build test. This is what worked for me in order.

1.Uninstall Visual Studio

2.Restart computer

3.Install Visual Studio

Do not try to change the default install directory during installation.

Make sure that everything under Universal Windows App Development Tools is checked. One exception is anything with prefix "Windows 8".

4.Restart computer once more to make sure that no Visual Studio service is running in the background.

5.Install Windows 10 SDK from here.

While installing Windows 10 SDK, if you get a message that says the SDK is already installed and up-to-date then you are done. Otherwise continue.

When finished, check if C:\Program Files (x86)\Windows Kits\10\Platforms is available.

It should like this:

enter image description here