diff --git a/eng/restore-toolset.ps1 b/eng/restore-toolset.ps1 index 319669ee1..f8e541c82 100644 --- a/eng/restore-toolset.ps1 +++ b/eng/restore-toolset.ps1 @@ -18,6 +18,8 @@ function InitializeCustomSDKToolset { function CreateBuildEnvScript() { + InitializeBuildTool | Out-Null # Make sure DOTNET_INSTALL_DIR is set + Create-Directory $ArtifactsDir $scriptPath = Join-Path $ArtifactsDir "core-sdk-build-env.bat" $scriptContents = @"