You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2017/09/06 21:56:00 UTC

[jira] [Resolved] (CB-13237) VisualStudio 2017

     [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org