boostorg / boostorg/build

Multiple Visual Studio 2019: selecting version in bootstrap.bat

Open
#715 1 comment 0 reactions 0 assignees View on GitHub
transition
Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've got multiple versions of Visual Studio 2019 on my build machine.
Currently bootstrap.bat always selects the "latest" one (which is usually the current Preview version).
It would be cool having a command line option to specify the version-range in the same way vswhere expects it.
Additionally, disabling of preview versions would also be a useful option

bootstrap.bat --version [16.8,16.9) --no-preview

Tobias

Contributor guide

Open the contributing guide

Research direction

Start with bootstrap.bat and the existing vswhere invocation or Visual Studio discovery logic. Check how command-line arguments are parsed, then verify that a version range and --no-preview select the intended installation by running bootstrap.bat with the example options; done means both options affect selection as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, shell
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.