python-build-standalone icon indicating copy to clipboard operation
python-build-standalone copied to clipboard

fix: detect preview versions of msvs

Open kfsone opened this issue 1 year ago • 3 comments

fixes #268

  • add the '-prerelease' flag to the vswhere subcommand,
  • give 'no vs found' error if the command returns empty string,
  • catch vswhere returning multiple installations,

kfsone avatar Jun 06 '24 01:06 kfsone

Thanks for contributing!

zanieb avatar Jun 06 '24 02:06 zanieb

Is there a compelling reason to support building with prerelease versions of Visual Studio?

zanieb avatar Jun 06 '24 02:06 zanieb

Is there a compelling reason to support building with prerelease versions of Visual Studio?

Ah - I can see why you might wonder that; "prerelease" recognizes the "Preview" aka canary editions. Which is not the same as whatever alpha or beta of 2024 or 2025 might eventually come into existence.

This is a fairly common pattern:

image

Stable + Firehose.

kfsone avatar Jun 06 '24 06:06 kfsone