Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Cannot build the solution generated by unity

Hi,

inside unity everything is fine and works. If I build the unity project it generates the solution as always. But if I open the solution the output window displays this error message for every generated project:

Assembly-CSharp-firstpass.csproj : error : The project requires a platform SDK (UAP, Version=10.0.14393.0) that is not installed. Please visit the following link for more information: http://go.microsoft.com/fwlink/?prd=12514&pver=14.0&sbp=PlatformSDKMissing&plcid=0x409&o1=UAP, Version=10.0.14393.0

The weird thing is that I have the required installation of the Windows 10 SDK and the tools... I have a version for 10.0.10586.0 and one for 10.0.14393.0. I already tried to reinstall them several times and other versions too...

The path C:\Program Files (x86)\Windows Kits\10\Platforms\UAP\10.0.14393.0 leads to a correct Platform.xml and PreviousPlatforms.xml so I don't know what exactly causes this problem.

Several months ago I was able to build and deploy for the hololens on another computer but this time it won't work...

I am using Unity 5.5.1f1

Please help me, I am really frustrated by now.

Thank you for reading and for your help.

Tagged:

Answers

  • Options

    Which version is referenced in the Package.appxmanifest (TargetDeviceFamily > MaxVersionTested)? Did you try to update to version 10.0.10586.0?

  • Options

    The version in the Package.appxmanifest:

    Wouldn't that be a downgrade from 10.0.14393.0?

    I already tried it with the versions 10.0.10240.0, 10.0.10586.0 and 10.0.10240. I tried each of them with the VS installer and with the setup program from there: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
    (I did not install them twice, I uninstalled them before installing them with another program)

    I had another attempt to modify the generated .csproj files in order to target the installed sdk version but then visual studio notifies me for every project that the win 10 sdk needs an update - if I click on it I get redirected to a random MSN page which doesn't help at all.

    I am a little bit confused about the version numbers of the sdk:
    In the path C:\Program Files (x86)\Windows Kits\10\Platforms\UAP is a directory named 10.0.14393.0 but in the control panel > programs the name for the sdk is this:

    Windows Software Development Kit - Windows 10.0.14393.795

    but the version says: 10.1.14393.795

    so my best guess so far is that VS is looking for a registry entry in version 10.0.14393.0 but in the registry there is a version like 10.0.14393.795 and that causes VS to say that I don't have the correct sdk installed.

    The problem is that I don't know if this guess is correct and if it is correct I don't know which registry entry to change or where the *.csproj has to be changed.

    Thank you for your time, I hope that you know a solution.

  • Options

    The version number in control panel and installation path are ok. It's the same on my computer.

    Just a shot in the dark: Did you change the build type (D3D/XAML) of the app in Unity? I had a similiar strange issue when first building for XAML and later I changed it to D3D, but I can't remember the error message. Try to build the app just into another folder.

  • Options

    I always build with D3D in Unity and I think I got all settings right. It seems to me that the problem has nothing to do with unity - I am not able to create an UWP project with this SDK version but others work fine. If I try to use the SDK Version 10.0.14393.0 I get the same error as before. I already reinstalled VS with Update 3 and reinstalled the SDK several times.

    I posted a question on stackoverflow that contains the steps to reproduce for me:

    http://stackoverflow.com/questions/42137402/visual-studio-does-not-recognize-windows-10-sdk-in-version-10-0-14393-0

    How is it possible that I am the first to find this issue and post it somewhere?

  • Options
    Puh. No idea...Does your Windows Version match the SDK Version. My latest sdk Version ist smaller. Maybe yours belongs to an Insider Preview?
  • Options

    I just got a similiar issue. Loaded a solution file and one project failed to load. The message was that the required sdk (10.0.14393.0) is not installed. I installed it with Visual Studio and as standalone but the project still failed to load.

    I just copied the target version from another project in the solution that loaded fine:

    10.0.10240.0
    10.0.10240.0

    No I am able to load the project and to build the solution.

  • Options

    <TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
    <TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>

    XML code was gone...

  • Options

    After uninstalling 10.0.14393.759 standalone from Programs & Features and from the Visual Studio Installer I did a reboot and installed it with the Visual Studio installer again. Now I am able to load projects with target platform 10.0.4393.0 successfully again.

Sign In or Register to comment.