4 Replies Latest reply on Sep 22, 2016 11:56 PM by Vishal Sharma

    Not able to create build for windows in PhoneGap.

    Vishal Sharma

      Hey guys,

      I got windows computer.

      Configuration are attached with this pic.Config.png

       

       

      Then i did try follow below URL to install PhoneGap CLI into Windows.

      Step 1: Install PhoneGap | PhoneGap Docs

       

      Then i did try below comand :

      phonegap local build windows

       

      But i got same below:

      Error is :

      Error: No valid MSBuild was detected for the selected target.

       

      After get this error i did install Microsoft Build from below :

      Download Microsoft Build Tools 2015 from Official Microsoft Download Center

       

      All things are installed properly , Then again i tried to create local build via :

      phonegap local build windows

       

      Now, I got another error. Below is error log from my command prompt:

       

       

      [warning] The command `phonegap local <command>` has been DEPRECATED.

      [warning] The command has been delegated to `phonegap <command>`.

      [warning] The command `phonegap local <command>` will soon be removed.

      [phonegap] executing 'cordova build windows ' ...

      The following navigation rule had an invalid URI scheme and is ignored: "*".

       

       

       

       

      Building project: C:\Users\DELL\Desktop\MYPROJECTNAME\platforms\windows\CordovaApp.Windows.jsproj

       

      Configuration : debug

       

      Platform      : anycpu

       

      C:\Users\DELL\Desktop\UponorMore\platforms\windows\CordovaApp.Windows.jsproj(52,5): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Microsoft.VisualStudio..Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

       

      Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1

       

      Is any body have any idea regarding it?

       

      with this pic.