Skip to content

Add --version to install and update commands - #275

Merged
kzu merged 1 commit into
mainfrom
dev/versioned
Aug 15, 2026
Merged

Add --version to install and update commands#275
kzu merged 1 commit into
mainfrom
dev/versioned

Conversation

@kzu

@kzu kzu commented Aug 15, 2026

Copy link
Copy Markdown
Member

run already accepted --version / -v to target a specific installed Visual Studio. install and update now take the same option so you can manage specific VS versions from one flag.

  • install: uses the major from --version (18.718) to pick the aka.ms bootstrapper (/vs/18/stable/, /vs/17/release/, etc.)
  • update: filters installed instances by semantic version prefix, same as run
  • Shared VisualStudioFilter.Version so instance selection is consistent
  • Channel mapping is major-aware: VS 2017-2022 use release/pre, VS 2026+ use stable/insiders

Examples:

dnx vs -- install -v:18 -sku:ent
dnx vs -- install --version 17
dnx vs -- update -v:18.7

Shared --version/-v now works on install and update the same way as run:
install uses the major to select the aka.ms bootstrapper, and update
filters installed instances by semantic version.
@kzu kzu added the enhancement New feature or request label Aug 15, 2026
@kzu
kzu enabled auto-merge (rebase) August 15, 2026 04:46
@kzu

kzu commented Aug 15, 2026

Copy link
Copy Markdown
Member Author

212 passed 212 passed

🧪 Details on Microsoft Windows 10.0.26100

from retest v1.1.0 on .NET 10.0.11 with 💜 by @devlooped

@kzu
kzu merged commit f4bb005 into main Aug 15, 2026
4 checks passed
@kzu
kzu deleted the dev/versioned branch August 15, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant