Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11204

WinJS is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.1.1
    • None
    • cordova-windows
    • None
    • Windows 10, VS2015

    Description

      I installed VS2015. In the documentation, there are no further instruction on how to do that, so I went with the default options. All that just to get MSBuild installed.

      So then:

      npm install -g cordova
      cordova create CordovaApp
      cd CordovaApp
      cordova platform add windows
      cordova run windows
      

      So it's a completely virgin project. The default's oughta work, right? Wrong:

      d:\Projecten\CordovaApp>cordova run windows
      Building project: d:\Projecten\CordovaApp\platforms\windows\CordovaApp.Windows.jsproj
              Configuration : debug
              Platform      : anycpu
      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2049,5): error MSB3774: Could not find
      SDK "Microsoft.WinJS.2.0, Version=1.0". [d:\Projecten\CordovaApp\platforms\windows\CordovaApp.Windows.jsproj]
      Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1
      

      So, either a step is missing from the documentation, or it's looking for something that located someplace else.

      Remember, all related components are completely default. I have NEVER touched ANY configuration of ANY of the involved components or code!

      Attachments

        Activity

          People

            rakatyal Raghav Katyal
            thany Martijn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: