gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
91 stars 8 forks source link

Visual Studio Preview Versions not found using vswhere #1067

Open ubfx opened 4 years ago

ubfx commented 4 years ago

Expected Behavior

gradle should work with preview versions of VS just as well as the normal versions

Current Behavior

When only a preview Version of VS is installed, instead of the current stable version, gradle will not be able to locate it and the build will fail.

FIx:

Call vswhere -all -prerelease so that every VS version is found,