Search Unity

Error MSB3774 Could not find SDK "WindowsMobile, Version=10.0.16299.0"

Discussion in 'VR' started by douglas8112, Apr 5, 2018.

  1. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    I hear this is a common issue. Im deploying a unity project (one of the simple hololens tutuorials). All seems to go well but when doing a build in Visual studio 2017, it gives me the error : MSB3774 Could not find SDK "WindowsMobile, Version=10.0.16299.0"

    Now my SDK on my computer is installed, then did a repair, then did an uninstall and reinstall. Should be on there.

    I followed all of the steps that ive found to export it for a build. What next?

    Thanks guys!
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Trying using a different SDK target in your build settings, I don't think Unity Editor supports that SDK version yet
     
  3. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    good point, but my current unity on my PC only offers "Latest SDK" and "10.0.16299.0" options. Any way. to offer an earlier SDK? Should I uninstall 299.0 and install an older SDK?
     
  4. QQQQkj

    QQQQkj

    Joined:
    Apr 6, 2018
    Posts:
    4
    hi guy,did you solve this problem,i struggle with this problem for whole afternoon:(
     
  5. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    No not yet :( been struggling for 2 days on this
     
  6. derdimi

    derdimi

    Joined:
    Mar 6, 2017
    Posts:
    33
    You could try to install SDK 10.0.14393.0 with the help of the Visual Studio installer (or manually) and rebuild your Unity project targeting the older SDK. You don't have to delete the current one.
     
  7. QQQQkj

    QQQQkj

    Joined:
    Apr 6, 2018
    Posts:
    4
    guy.i think i solve the problem.i install the VS2015,and follow this tutorial
    https://goo.gl/4QUMJV
    but it still has some errors,but at least,it works.i will tell you if i know how to fix these errors.i am very beginng on these.
     

    Attached Files:

  8. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    so i checked and my visual studio itself had no SDK's installed. so i went back to the visual studio installer and and clicked to add-on the SDK's. will let you know if this fixes the issue...
     
  9. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    Unfortunately that didn’t help
     
  10. derdimi

    derdimi

    Joined:
    Mar 6, 2017
    Posts:
    33
    First delete your build folder and build the project again. Please make sure, that Unity is targeting the correct SDK version. After that, please check the Targeting settings in the properties in VS for all projects, i.e., Assembly-CSharp, Assembly-CSharp-firstpass and your own project. I've added some example images for reference.

    EDIT: Replaced the first image.
     

    Attached Files:

    Last edited: Apr 11, 2018
  11. douglas8112

    douglas8112

    Joined:
    Jun 29, 2016
    Posts:
    13
    ok will give it a shot! thank you
     
  12. QQQQkj

    QQQQkj

    Joined:
    Apr 6, 2018
    Posts:
    4
    guy,can you check if these plug-in are installed in ur VS2017,and make sure you didn`t install other SDK before,the reason i can`t find my windows mobile Verson is that i installed an SDK long,long ago,which doesn`t have windowsmoile version,and when i install VS2017,it will install an another new SDK,but the problem is when you install the emulator,the emulator will be installed based on old version SDK by default
    to solve this,please uninstall another old SDK,and install the emulator again,the emulator be install based on the SDK that VS 2017 have
     

    Attached Files:

    • Capture.PNG
      Capture.PNG
      File size:
      102.4 KB
      Views:
      1,275
    • 1.PNG
      1.PNG
      File size:
      105.2 KB
      Views:
      1,338
    songsongsongsong likes this.
  13. bruceweir1

    bruceweir1

    Joined:
    Nov 29, 2017
    Posts:
    15
  14. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
  15. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Usually this is caused by those extensions existing on disk but Visual Studio not loading them for some reason. You can find them in "C:\Program Files (x86)\Windows Kits\10\Extension SDKs". There are 2 possible fixes:

    1. Reinstall Visual Studio
    2. Delete "C:\Program Files (x86)\Windows Kits\10\Extension SDKs\WindowsMobile" and any other extension SDKs that don't load in Visual Studio
     
  16. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
    I somehow finally got past this issue. Not even sure how. But now I always have issues when it's deploying the game. It just hangs forever on Updating Layout... or where it says it's copying data. It just never ends. I even turned off my firewall, but that didn't help.
     
    Last edited: Aug 15, 2019