[ 
https://issues.apache.org/jira/browse/CB-13237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-13237.
----------------------------------
    Resolution: Fixed

Addressed by changing default target.

This can also be worked around by specifying your target, ie.
{code}
cordova build windows -- --appx=uap
cordova run windows -- --appx=uap
{code}
or by adding a preference to root/config.xml 
{code}
<preference name="windows-target-version" value="10.0" />
{code}

> VisualStudio 2017
> -----------------
>
>                 Key: CB-13237
>                 URL: https://issues.apache.org/jira/browse/CB-13237
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>            Reporter: Jesse MacFadyen
>            Assignee: Jesse MacFadyen
>
> Users who only have VS-2017 and the new tools do not have the expected 
> registry items available to 'cordova build' so it fails.
> Failure happens here:
> https://github.com/apache/cordova-windows/blob/a869223824f6ee1a6fc515d4b4aaafc2d8cfba93/template/cordova/lib/build.js#L554
> And the message I saw was 'MSBuild v4.0 is not supported, aborting.'



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to