summaryrefslogtreecommitdiff
path: root/wpd/WpdBasicHardwareDriver
diff options
context:
space:
mode:
author5an7y <[email protected]>2026-03-31 15:58:46 -0700
committer5an7y <[email protected]>2026-03-31 16:22:25 -0700
commit12f94c8573a5ef79abf7842d3ea0faf458c3f733 (patch)
tree7489e982431897dc2fc9abb5143d6d0ae1cf9a2e /wpd/WpdBasicHardwareDriver
parente021472d548bb26ff390b6b90b42caf21def7024 (diff)
fix: detect WDK component version from the selected VS installation
Previously, WdkVsComponentVersion was read from the global ProgramData package cache, which is shared across all VS installations and could return the wrong version when multiple installs are present. - Add -include packages to the vswhere call in Get-VsInstallationsWithWdk so each returned installation includes its WdkVsComponentVersion - Initialize-DevShell now returns the selected installation object - Resolve-BuildEnvironment accepts an optional -VsInstallation parameter; when provided it reuses the already-selected install (no second prompt); when absent (Dev Shell was pre-active) it calls Select-VsInstallation once - Build-Samples.ps1 threads the result of Initialize-DevShell through to Resolve-BuildEnvironment Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'wpd/WpdBasicHardwareDriver')
0 files changed, 0 insertions, 0 deletions