You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joshua Bronson (JIRA)" <ji...@apache.org> on 2017/08/04 22:47:00 UTC

[jira] [Commented] (CB-12636) Support of Visual Studio 2017

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

Joshua Bronson commented on CB-12636:
-------------------------------------

Just found this issue and see it's recently been fixed - great! Can a core developer please comment on when it's expected to land in the next release?

> Support of Visual Studio 2017
> -----------------------------
>
>                 Key: CB-12636
>                 URL: https://issues.apache.org/jira/browse/CB-12636
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-windows
>    Affects Versions: 6.5.0
>         Environment: Windows 10
>            Reporter: Marco Paland
>            Assignee: Alexander Sorokin
>
> Please add support for Visual Studio 2017.
> On a Windows 10 machine I installed VS2017 (no other VS). Upon compiling a cordova project I get:
> {code}
> > cordova build windows --verbose
> No scripts found for hook "before_build".
> No scripts found for hook "before_prepare".
> Checking config.xml for saved platforms that haven't been added to the project
> Checking for any plugins added to the project that have not been installed in windows platform
> No differences found between plugins added to project and installed in windows platform. Continuing...
> Generating platform-specific config.xml from defaults for windows at C:\Users\Marco\Documents\Visual Studio 2017\Projects\BlankCordovaApp1\BlankCordovaApp1\platforms\windows\config.xml
> Merging project's config.xml into platform-specific windows config.xml
> Found "merges/windows" folder. Copying its contents into the windows project.
> Merging and updating files from [www, platforms\windows\platform_www, merges\windows] to platforms\windows\www
>   copy  platforms\windows\platform_www\cordova-js-src\confighelper.js platforms\windows\www\cordova-js-src\confighelper.js (updated file)
>   copy  platforms\windows\platform_www\cordova-js-src\exec.js platforms\windows\www\cordova-js-src\exec.js (updated file)
>   copy  platforms\windows\platform_www\cordova-js-src\platform.js platforms\windows\www\cordova-js-src\platform.js (updated file)
>   copy  platforms\windows\platform_www\cordova-js-src\splashscreen.js platforms\windows\www\cordova-js-src\splashscreen.js (updated file)
>   copy  platforms\windows\platform_www\cordova_plugins.js platforms\windows\www\cordova_plugins.js (updated file)
>   copy  www\css\index.css platforms\windows\www\css\index.css (updated file)
>   copy  www\index.html platforms\windows\www\index.html (updated file)
> Updating icons and splash screens at platforms\windows\images
> Prepared windows project successfully
> No scripts found for hook "pre_package".
> No scripts found for hook "after_prepare".
> Checking config.xml for saved plugins that haven't been added to the project
> No scripts found for hook "before_compile".
> Reading build config file: C:\Users\Marco\Documents\Visual Studio 2017\Projects\BlankCordovaApp1\BlankCordovaApp1\build.json
> Searching for available MSBuild versions...
> Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.0 /v MSBuildToolsPath
> Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0 /v MSBuildToolsPath
> Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0 /v MSBuildToolsPath
> Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0 /v MSBuildToolsPath
> Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0,/v,MSBuildToolsPath
> Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0,/v,MSBuildToolsPath
> Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.0,/v,MSBuildToolsPath
> Command finished with error code 0: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0,/v,MSBuildToolsPath
> Found MSBuild v4.0 at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
> MSBuild v4.0 is not supported, aborting.
> Error: Package with specified parameters not found in AppPackages folder
> {code}
> The requirement check shows:
> {code}
> > cordova requirements windows
> Requirements check results for windows:
> Windows OS: installed Windows 10
> MSBuild Tools: not installed
> MSBuild tools v.14.0 not found. Please install Visual Studio 2015 Community from https://www.visualstudio.com/downloads/download-visual-studio-vs
> Visual Studio: not installed
> Required version of Visual Studio not found. Please install Visual Studio 2015 Community from https://www.visualstudio.com/downloads/download-visual-studio-vs
> Windows SDK: installed 10.0
> Windows Phone SDK: installed 10.0
> Error: Some of requirements check failed
> {code}
> I don't want to install VS2015 Community Edition when VS2017 is already installed with all according toolchains.



--
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