gildor2 / BuildTools

Visual C++ CLI wrapper GNU tools used for building most of local projects
17 stars 7 forks source link

Add support of VS preview toolchain. #1

Closed lordofdest closed 2 years ago

lordofdest commented 5 years ago

BuildTools can't find my VS 2019 Preview toolchain.

Solution:

    display_name=`"$vswhere" -latest -prerelease $version_filter -property displayName`
    base_path=`"$vswhere" -latest -prerelease $version_filter -property installationPath`

@gildor2

gildor2 commented 2 years ago

Probably no longer an issue, added VS 2022 support (see #2)

avail commented 2 years ago

this is indeed still an issue. I only have the preview version of vs2022 installed, vswhere doesn't include it unless -prerelease is specified. -prerelease Also searches prereleases. By default, only releases are searched.

Edit: can confirm, with the edit proposed in this issue it works fine.