cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12636) Support of Visual Studio 2017
Date Mon, 17 Jul 2017 07:53:00 GMT

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

Alexander Sorokin closed CB-12636.
----------------------------------
    Resolution: Fixed

I've just added a VS 2017 detection logic to {{cordova-windows}}
[~mpaland] you can test it by adding a platform directly from github (until we release it):
{noformat}
cordova platform update windows@https://github.com/apache/cordova-windows
cordova requirements
{noformat}
Feel free to file a new issue or reopen this one if you are still experiencing the problem.

> 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


Mime
View raw message