We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ad3358 + 2c58af0 commit 188ff5dCopy full SHA for 188ff5d
contrib/win-installer/build-hooks.ps1
@@ -17,7 +17,7 @@ function Build-MSIHooks {
17
if ( Get-MingW ) {
18
Build-MSIHooks-Using-MingW $msiHooksFolder $artifactsFolder
19
} elseif ( Get-VSBuildTools ) {
20
- $vsinstance = Get-VSSetupInstance | Select-VSSetupInstance -Product Microsoft.VisualStudio.Product.BuildTools
+ $vsinstance = Get-VSSetupInstance | Select-VSSetupInstance -Product Microsoft.VisualStudio.Product.BuildTools -Latest
21
Build-MSIHooks-Using-VSBuildTools $msiHooksFolder $artifactsFolder $vsinstance
22
} else {
23
$msg = "A C/C++ compiler is required to build `"$msiHooksFolder\check.c`". "
0 commit comments