[ 
https://issues.apache.org/jira/browse/CB-11204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274013#comment-15274013
 ] 

Matt Seddon edited comment on CB-11204 at 5/6/16 1:16 PM:
----------------------------------------------------------

I ran into this same issue, so I feel the documentation isn't quite as clear as 
it should be.

The solution I used was to boot Visual Studio, select "File > New Project", and 
navigate down to (iirc Templates > C++ > Windows 8 > Universal), to download 
the Windows platform and tools.  The exact location and name I forget, but 
effectively you need to ensure you are installing the *windows 8.1* tools, not 
windows 10, since the default windows platform is set for 8.1.


was (Author: [email protected]):
I ran into this same issue, so I feel the documentation isn't quite as clear as 
it should be.

The solution I used was to boot Visual Studio, select "File > New Project", and 
navigate down to (iirc Templates > C++ > Windows 8 > Universal), to download 
the WinJS 2.0 tools.  The exact location I forget, but effectively you need to 
ensure you are installing the *windows 8.1* tools, not windows 10, since the 
default windows platform is set for 8.1.

> WinJS is missing
> ----------------
>
>                 Key: CB-11204
>                 URL: https://issues.apache.org/jira/browse/CB-11204
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 6.1.1
>         Environment: Windows 10, VS2015
>            Reporter: Martijn
>
> 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:
> {code}
> npm install -g cordova
> cordova create CordovaApp
> cd CordovaApp
> cordova platform add windows
> cordova run windows
> {code}
> So it's a *completely virgin* project. The default's oughta work, right? 
> Wrong:
> {code}
> 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
> {code}
> 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!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to