Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: None
    • Component/s: cordova-windows
    • Labels:
      None
    • Environment:

      Windows 10

      Description

      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:

      > 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
      

      The requirement check shows:

      > 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
      

      I don't want to install VS2015 Community Edition when VS2017 is already installed with all according toolchains.

        Attachments

          Activity

            People

            • Assignee:
              alsorokin Alexander Sorokin
              Reporter:
              mpaland Marco Paland
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: