mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-11-03 09:37:34 +00:00
Merge pull request #24801 from inknos/latest-vscode-build
Use latest version of VS BuildTools
This commit is contained in:
commit
188ff5df39
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ function Build-MSIHooks {
|
|||
if ( Get-MingW ) {
|
||||
Build-MSIHooks-Using-MingW $msiHooksFolder $artifactsFolder
|
||||
} elseif ( Get-VSBuildTools ) {
|
||||
$vsinstance = Get-VSSetupInstance | Select-VSSetupInstance -Product Microsoft.VisualStudio.Product.BuildTools
|
||||
$vsinstance = Get-VSSetupInstance | Select-VSSetupInstance -Product Microsoft.VisualStudio.Product.BuildTools -Latest
|
||||
Build-MSIHooks-Using-VSBuildTools $msiHooksFolder $artifactsFolder $vsinstance
|
||||
} else {
|
||||
$msg = "A C/C++ compiler is required to build `"$msiHooksFolder\check.c`". "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue