Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13878

Enforce usage of specific version of MSBuildTools

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-windows
    • None

    Description

      With Visual Studio 2017 (15.5) you can't build Win8.1 projects any more, see CB-13874.
      There are also problems with standalone MSBuild versions you can install.
      The MSBuildTools selection mechanism that is currently used is not prepared to handle that in any way - it chooses one MSBuildTool version, then checks if it can build the projects and proceeds or fails.

      There is the workaround that VSINSTALLDIR can be used to force a specific VS 2017+ installation where it then tries to find a MSBuildTool installation in a specific folder, but this is also very unreliable.

      This issue proposes a new ENV var that can be used to point to the exact MSBuildTool instance that should be used. This way it will be possible to use the VS2015 build tools while VS2017 is installed etc.

      Attachments

        Issue Links

          Activity

            People

              Sujan12 Jan Piotrowski (janpio)
              Sujan12 Jan Piotrowski (janpio)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: