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.
1 parent 994a879 commit d303cc7Copy full SHA for d303cc7
eng/build.ps1
@@ -545,6 +545,7 @@ function EnablePreviewSdks() {
545
$vsInfo = LocateVisualStudio
546
if ($vsInfo -eq $null) {
547
# Preview SDKs are allowed when no Visual Studio instance is installed
548
+ Write-Host "No Visual Studio installation found; skipping enabling preview SDKs"
549
return
550
}
551
@@ -554,6 +555,7 @@ function EnablePreviewSdks() {
554
555
$instanceDir = Join-Path ${env:USERPROFILE} "AppData\Local\Microsoft\VisualStudio\$vsMajorVersion.0_$vsId"
556
Create-Directory $instanceDir
557
$sdkFile = Join-Path $instanceDir "sdk.txt"
558
+ Write-Host "Enabling preview SDKs by writing to $sdkFile"
559
'UsePreviews=True' | Set-Content $sdkFile
560
561
0 commit comments