Search Unity

error on windows 10 universal deploy

Discussion in 'Windows' started by Lyssandre_Guerreiro, May 11, 2017.

  1. Lyssandre_Guerreiro

    Lyssandre_Guerreiro

    Joined:
    May 11, 2017
    Posts:
    7
    Hi everyone,
    i have a project that i can deploy on android and windows .EXE but in windows 10 universal the build don't begin and i have an error
    Could not start compilationException: 'D:\Programmes\UnionMetadata\Facade\Windows.winmd' not found, do you have Windows UAP SDK installed?
    I have install SDK many times and i dont undestand why it say that..
    (in windows phone 8.1 the build works)
     
    Last edited: May 11, 2017
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,679
    Which Unity version are you on and which SDK did you install?
     
  3. Lyssandre_Guerreiro

    Lyssandre_Guerreiro

    Joined:
    May 11, 2017
    Posts:
    7
    I have the version 5.6.0f3 and my SDK is the 10.0.14393.0
     
  4. Lyssandre_Guerreiro

    Lyssandre_Guerreiro

    Joined:
    May 11, 2017
    Posts:
    7
    it was a problem of file but now i have a new error "UnityException: Build path contains project which is incompatible with current one. Expected tools version '14.0', was '12.0'" the problem is with visual studio?
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,679
    The full error is "Build path contains project which is incompatible with current one. Expected tools version '14.0', was '12.0'". It means you're building to a folder which contains a build that targets different SDK. Build to an empty folder instead.
     
    coeing likes this.
  6. Lyssandre_Guerreiro

    Lyssandre_Guerreiro

    Joined:
    May 11, 2017
    Posts:
    7
    ok it's work now but Visual Studio dont find the SDK ?
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,679
    Could you elaborate on that? Visual Studio is giving you an error? Can you post a screenshot of that?
     
  8. Lyssandre_Guerreiro

    Lyssandre_Guerreiro

    Joined:
    May 11, 2017
    Posts:
    7
    my visual studio is on french sorry he just say that it cant find the sdk
     

    Attached Files:

  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,679
    Did you by chance install the SDK into non-default directory? I know in the past VS was having issues locating it in that case...